Re: Inconsistency displaying IDLgrROI [message #59778] |
Fri, 11 April 2008 01:36  |
Erik[1]
Messages: 23 Registered: December 2006
|
Junior Member |
|
|
On 10 apr, 19:29, rtow...@gmail.com wrote:
> On Apr 10, 10:24 am, Bill Triplett wrote:
>
>> The sample of code below is supposed to convert some data to an IDLgrROI
>> and then display it. The STYLE=0 keyword is supposed to cause the object
>> to be rendered as a series of points.
>
>> This works well when I am connected to the workstation through a VNC
>> session; however when working directly on the machine's console, it
>> appears that the STYLE keyword is ignored, and the object is rendered as
>> though it were a IDLgrPOLYLINE.
>
>> Does anyone what would cause this behavior? I am somewhat new to object
>> graphics, but am learning quickly.
>
> Just a guess, but remove the ALPHA_CHANNEL keyword. Does that make a
> difference?
>
> -Rick
Mind the difference between Style and LineStyle!
Use STYLE for point's, open- or closed- Roi's
Use LINESTYLE for a solid line or a dotted line etc.
|
|
|
|
Re: Inconsistency displaying IDLgrROI [message #59916 is a reply to message #59787] |
Fri, 11 April 2008 07:58  |
wtt
Messages: 8 Registered: March 2008
|
Junior Member |
|
|
rtowler@gmail.com wrote:
> On Apr 10, 10:24 am, Bill Triplett wrote:
>
>> Does anyone what would cause this behavior? I am somewhat new to object
>> graphics, but am learning quickly.
>
> Just a guess, but remove the ALPHA_CHANNEL keyword. Does that make a
> difference?
Hi Rick,
No, that didn't make a difference. Interestingly enough, the exported
image from xobjview looks correct, while a "screen shot" of the window
shows the incorrect display.
Here are examples. I hope that they are illustrative of what's
happening. There are four distinct ROIs there, but they are being joined
by zig-zagged lines.
The way it should look (and does over VNC and as an exported image from
xobjview)
http://img237.imageshack.us/my.php?image=rightih2.png
The way it looks on the monitor
http://img376.imageshack.us/my.php?image=wronghg6.png
Could this be a quirk of the operating system or video hardware?
Thanks again,
Bill
|
|
|