Inconsistency displaying IDLgrROI [message #59788] |
Thu, 10 April 2008 10:24  |
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  |
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
|
|
|