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

Home » Public Forums » archive » 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
Inconsistency displaying IDLgrROI [message #59788] Thu, 10 April 2008 10:24 Go to next message
wtt is currently offline  wtt
Messages: 8
Registered: March 2008
Junior Member
Dear All,

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.

Thanks,
Bill


orois = objarr(num_rois)

for i = 0, num_rois-1 do begin
tmp = (*ptr_seeds[0])[i]
// *tmp is [ n x 3 ]
orois[i] = obj_new('idlgrroi', $
[ transpose(*tmp) ], $
style=0, $
thick=4, $
color=[0, 255, 0], $
alpha_channel=.4)

endfor

omodel->add, orois

xobjview, omodel
Re: Inconsistency displaying IDLgrROI [message #59913 is a reply to message #59788] Fri, 11 April 2008 08:38 Go to previous message
rtowler is currently offline  rtowler
Messages: 28
Registered: June 2006
Junior Member
> Here are examples.

Unfortunately ImageShack can't send rightih2.png. The server it is
hosted on seems to be having problems. But...

> Could this be a quirk of the operating system or video hardware?

It most likely is. A simple test would be to explicitly set your
window to use the software renderer. If it renders correctly to the
local screen then you know it is an issue with the video adapter/
drivers.

What OS/distro? Who makes the graphics adapter?

-Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Inconsistency displaying IDLgrROI
Next Topic: Geographic Lat/Lon

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

Current Time: Fri Oct 10 06:12:15 PDT 2025

Total time taken to generate the page: 1.75462 seconds