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

Home » Public Forums » archive » Re: (x,y,z) ¿?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: (x,y,z) ¿? [message #53000] Wed, 14 March 2007 08:50 Go to next message
David Fanning is currently offline  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 Go to previous message
inisi is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: the problem of PERROR in MPFITFUN
Next Topic: Modis Georeferencing

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

Current Time: Fri Oct 10 14:13:50 PDT 2025

Total time taken to generate the page: 1.12002 seconds