Re: Add and manipulate a visualization to standard Itool [message #75843] |
Wed, 27 April 2011 08:40  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
kidpixo writes:
> PS: Than I learned a lot about iTools, for values of "learning" approaching to "struggling".
Well, we are ready to welcome you back into the CGS fold
when you are ready. Very little struggling going on there,
although I am working on fixing a small bug this morning. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
|
|
|
|
Re: Add and manipulate a visualization to standard Itool [message #76126 is a reply to message #75843] |
Tue, 17 May 2011 06:22  |
kidpix
Messages: 23 Registered: July 2007
|
Junior Member |
|
|
I'm still sinking in the Object Graphic Lands, but it seems a little better now...
About my primitive question, I achieved good results modifying the IDLitVisPolyline creation routine, located in lib/itools/components/idlitvispolyline__define.pro
The IDLitVisPolyline::Init subclasses the IDLitVisualization superclass, but "forgets" to set the MANIPULATOR_TARGET keyword.
Setting MANIPULATOR_TARGET in the IDLitVisPolyline class instantiation in OBJ_NEW , it is passed through the _EXTRA keyword mechanism and it seems to work properly. So, in the original code I changed:
visoROI = OBJ_NEW('IDLitVisPolyline',/REGISTER_PROPERTIES,/MANIPULATOR _TARGET)
Now I'm experimenting a little with IDLitVisRoi, IDLgrROI etc...
In the iTool Progamming Manual - IDL Version 7.1 pag 199 they said:
"IDLitVisRoi
Defines and displays a polygonal region of interest.
Visualization type: IDLROI
Data Types Accepted
• Vertex data: IDLARRAY2D"
any guess how define a IDLARRAY2D data?
Thanks folks!
--
Dr. Mario D'Amore
Deutsches Zentrum für Luft- und Raumfahrt
Institut für Planetenforschung
Experimentelle Planetenphysik
Rutherfordstraße 2
12489 Berlin
Email : Mario.Damore.dlr.de
Internet : http://www.dlr.de/pf
Deutscher Akademischer Austauschdienst (DAAD)
Email : Mari...@daad-alumni.de
|
|
|