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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: cursor in object-oriented graphics [message #77336] Mon, 22 August 2011 19:55
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Russell writes:

> 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.

I would have thought so, but I didn't want people
to get the idea that you couldn't do exciting
things with direct graphics. :-)

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.")
Re: cursor in object-oriented graphics [message #77337 is a reply to message #77336] Mon, 22 August 2011 19:22 Go to previous message
Russell[1] is currently offline  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
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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Teaching IDL Courses
Next Topic: Gridding Satellite Data

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

Current Time: Fri Oct 10 13:36:10 PDT 2025

Total time taken to generate the page: 0.05282 seconds