Re: (x,y,z) ¿? [message #53000] |
Wed, 14 March 2007 08:50  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
inisi writes:
>
> I've been trying out the demo aplications and I've seen a funcionality
> I'm interested in.
>
> The demo file is icontour.pro, it creates a 3D scene and at the bottom
> down of the window there prints the X,Y,Z coordinates of the cursor
> position.
>
> I've been searching along the help and I haven't seen anything about
> that. Widget_Draw returns only the motion events of the mouse on the
> screen.
>
>
> Can you drop me a rope in this matter ?
Use the PICKDATA method on the IDLgrWINDOW (obtained from
your draw widget as its value) to get this value.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: (x,y,z) ¿? [message #53088 is a reply to message #53000] |
Thu, 15 March 2007 04:12  |
inisi
Messages: 3 Registered: January 2007
|
Junior Member |
|
|
Thanks for your fast reply,
PICKDATA works :D
I've been searching this functionality and I was starting to consider
applying trigonometry to get the point.
I've never thought that it could be done with just a line.
If anyone is trying it out there is a clear example in (examples/doc/
objects) surf_track.pro .
PD> The more I work with IDL the more it astonishs me o_O
Ignasi Lerma
GRAHI
|
|
|