Re: cursor in object-oriented graphics [message #77337 is a reply to message #77336] |
Mon, 22 August 2011 19:22   |
Russell[1]
Messages: 101 Registered: August 2011
|
Senior Member |
|
|
On Aug 21, 8:11 pm, David Fanning <n...@idlcoyote.com> wrote:
> 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.")
Hi David, thanks for the tip.
I had pretty much lost hope that on that, figuring it wasn't
possible. The code is pretty large at this point, and I'd hate to
revamp it for this relatively minor feature.
Aww shucks, Russell
|
|
|