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


|