comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Inconsistency displaying IDLgrROI
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Inconsistency displaying IDLgrROI [message #59778] Fri, 11 April 2008 01:36 Go to next message
Erik[1] is currently offline  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 #59787 is a reply to message #59778] Thu, 10 April 2008 10:29 Go to previous messageGo to next message
rtowler is currently offline  rtowler
Messages: 28
Registered: June 2006
Junior Member
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
Re: Inconsistency displaying IDLgrROI [message #59916 is a reply to message #59787] Fri, 11 April 2008 07:58 Go to previous message
wtt is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Problems with bitmapped button widget
Next Topic: Inconsistency displaying IDLgrROI

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:15:55 PDT 2025

Total time taken to generate the page: 0.04338 seconds