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

Home » Public Forums » archive » Re: cursor in object-oriented graphics
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: cursor in object-oriented graphics [message #77349 is a reply to message #77337] Sun, 21 August 2011 20:11 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Russell writes:

> Hi, I'm building a GUI which overlays some number of ROIs over an
> image. Since I want the User to move, rescale, rotate, and delete
> these regions, all of the graphics and handled using the object-
> oriented graphics. But now I want to move the cursor around the image
> programmatically --- for example, have the user press the arrow keys
> and the cursor moves accordingly. I've tried the cursor.pro routine,
> but that only seems to work in direct-graphics mode. Does anyone have
> any suggestions for doing this in object-oriented mode?

I am unaware of any method to programmaticaly move the cursor
in object graphics.

But, I guess the good news is that moving, scaling, rotating,
and deleting ROIs can also be done in direct graphics, as
an application like AnnotateWindow demonstrates:

http://www.idlcoyote.com/catalyst/annotate.html

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.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Teaching IDL Courses
Next Topic: Gridding Satellite Data

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

Current Time: Fri Oct 10 06:51:41 PDT 2025

Total time taken to generate the page: 0.55863 seconds