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

Home » Public Forums » archive » Crashing in IDL8.2 with IDLgrROI, THICK>1 and LINE_QUALITY=1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Crashing in IDL8.2 with IDLgrROI, THICK>1 and LINE_QUALITY=1 [message #80857] Fri, 20 July 2012 03:53
wtt is currently offline  wtt
Messages: 8
Registered: March 2008
Junior Member
Dear Colleagues,

I was wondering if anyone was experiencing some crashes with IDL 8.2 involving object graphics and the high-quality lines. Specifically an IDLgrROI object with only a single point.

We have an application which allows users to draw and manipulate ROIs on an image, and the backing store is an IDLgrROI object. We noticed crashes in IDL8.2 when a user would start the ROI (ie, the first point is added to the IDLgrROI object, and window->draw is called).

Here is the minimum code to reproduce:

ow = obj_new('IDLgrWindow', dimensions=[100,100], line_quality=1)
ov = obj_new('IDLgrView', dimensions=[100,100])
om = obj_new('IDLgrModel')
oroi = obj_new('IDLgrROI', thick=2, data=[ [10,10] ])

ow->erase
om->add, oroi
ov->add, om
ow->draw, ov


Setting line_quality=0 will not crash
Setting thick=1 will not crash (thick=3 will still crash).
Running this in IDL 8.1 will not crash (w/o the line_quality keyword)

We are running Mac OS X 10.7.4 with IDL 64-bit, 8GB Ram, 2.8 GHz Intel Core i7, X11 version is 2.7.2
from XQuartz. (IDL Version 8.2, Mac OS X (darwin x86_64 m64). (c) 2012, Exelis Visual Information Solutions, Inc.)

Please let me know if I can be of assistance in testing anything out.

Thanks!
wtt
[Message index]
 
Read Message
Previous Topic: Iplot
Next Topic: Re: IDL - OS X Mountain Lion

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

Current Time: Wed Oct 08 15:34:07 PDT 2025

Total time taken to generate the page: 0.00473 seconds