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

Home » Public Forums » archive » Re: CURSOR question
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: CURSOR question [message #27075] Wed, 10 October 2001 12:17 Go to next message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
David Fanning wrote:

> It can be done trivially in an object
> graphics window. :-)

This kind of thing always baffled me. Choosing a point in 3D is ok as
long as you hit an existing item and this is what you intended to hit.
But there is no way to unambigously select a 3D location on a 2D screen
otherwise, as far as I can see. You *have* to make assumptions here.

Cheers,
Pavel
Re: CURSOR question [message #27078 is a reply to message #27075] Wed, 10 October 2001 10:47 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul Manusiu (phpvm@alinga.newcastle.edu.au) writes:

> Using the CURSOR routine I can read the X, Y data values on a 2-D plot
> using the mouse. If I have a 3-D plot does anyone now if its possible to
> read the Z component using the mouse ?
> ;That is, instead of
> CURSOR, X, Y
> ;I want
> CURSOR, X, Y, Z
> ;or something like
> CURSOR, X, Z
>
> My initial tries have all failed !

This kind of thing, I am sure, could be done
by replicating the window in the Z-graphics
buffer and selecting the referenced point there.
But, I confess, the details of how it is done escape
me. It can be done trivially in an object
graphics window. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
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
Re: CURSOR question [message #27169 is a reply to message #27075] Wed, 10 October 2001 13:12 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Pavel A. Romashkin (pavel.romashkin@noaa.gov) writes:

> This kind of thing always baffled me. Choosing a point in 3D is ok as
> long as you hit an existing item and this is what you intended to hit.
> But there is no way to unambigously select a 3D location on a 2D screen
> otherwise, as far as I can see. You *have* to make assumptions here.

I think you can unambiguously select the thing you can
*see*. The ambiguous stuff is behind all that. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: CURSOR question
Next Topic: Re: Using MIN on arrays : Exorcising loops?

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

Current Time: Wed Oct 08 19:57:28 PDT 2025

Total time taken to generate the page: 0.00454 seconds