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

Home » Public Forums » archive » Re: IDLgrROIgroup woes
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDLgrROIgroup woes [message #32036] Mon, 09 September 2002 06:01 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ben Tupper (btupper@bigelow.org) writes:

> I have bumped into a difficulty using the IDLgrROIgroup container
> object. I have a mixed bag of contours - some are closed and some are
> open - and there exists a variable number of these contours at each
> level (z value). I want to make a an IDLgrROI for each contour at
> each level and then stuff the IDLgrROI into a group container. There
> are three types of ROIs: 0 = points, 1 = open path and 2 = closed
> path. It seems that a given IDLgrROIgroup can contain any of one type
> - but not a mix of types.
>
> So, have I bumped into a bug or am I trying to misuse the
> IDLgrROIgroup?

I think you have discovered an undocumented feature! :-)

It doesn't surprise me that ROIs in an ROI-group have
to be the same type. There are operations you want to
apply to the group (e.g., through the IDLanROIGroup
object) such as computing masks, etc. that would be
impossible given contained ROIs of different types.

If you just want a convenient place to store these
objects, and you don't have any intention of using
the ROIGroup properties, you can use an IDL_CONTAINER,
of course.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: having IDL output to another X11 window
Next Topic: Simple animation?

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

Current Time: Sat Oct 11 14:38:21 PDT 2025

Total time taken to generate the page: 1.12080 seconds