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

Home » Public Forums » archive » Re: Rubberband box for object 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: Rubberband box for object graphics [message #42539 is a reply to message #42529] Fri, 11 February 2005 09:15 Go to previous messageGo to previous message
b_gom is currently offline  b_gom
Messages: 105
Registered: April 2003
Senior Member
Hi John,

I set out to do what you're intending to do a few years ago, and I'm
still modifying the code. I can send you my zoomable plot object if you
like, but it is probably not the simplest example of how to do this.

The problem I'm trying to solve right now is that IDLgrPolyline objects
do not get clipped by the axis the way that IDLgrPlot objects do, so
now I'm having to redesign the object heirarchy so that I can add
images, polylines, etc to my plot object and have them zoomable the
same way the IDLgrPlot is. If anyone has examples of doing THIS, I'd be
interested..

Brad


Rainnie, JA (John) wrote:
> Hi
>
> I'm delving into the IDL graphics objects, and specifically I wish to
> develop a plot window using the IDLgrPlot class. Thanks to several
> examples (mostly Dave Fanning's xPlot) I've mananged to do this.
> However, I really need to implement a rubberband box so the user can
> interactively zoom into this plot (like DF's zPlot). The conversion
from
> device to data coordinates is of course done in direct graphics with
the
> Convert_Coord function. However, I can't find any examples of how
this
> is done for object graphics.
>
> Has anyone done this - and are there any examples you can direct me
to.
>
> Cheers
>
> John
>
> Dr. John A. Rainnie
> Imaging Systems Division
> Space Science and Technology Department
> Rutherford Appleton Laboratory
> Oxfordshire, OX11 0QX
> UK
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to create IDL batch job in window?
Next Topic: Draw Widget Type Field

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

Current Time: Tue Dec 02 09:08:16 PST 2025

Total time taken to generate the page: 0.40564 seconds