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

Home » Public Forums » archive » Re: Newbie question again - Marking region of interest
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: Newbie question again - Marking region of interest [message #27582 is a reply to message #27568] Thu, 25 October 2001 15:28 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Akhila (idlfreak@yahoo.com) writes:

> There is a program available - drawline.pro which, aids in drawing
> manual contours, but this program is written using Direct Graphics.
> The code i've written to perform zooming, translation etc are in
> Object Graphics.

> I want to perform the operation of drawing contours in the same image
> that's zoomed and translated. Is it possible for me to use the Object
> graphics method to display the image and then use the direct graphics
> method to draw contours on them.
>
> It'd be of great help, if any of u could tell me, how to merge object
> graphics and direct graphics. Is it possible???

It is not possible to combine direct and object
graphics. The two graphics systems are completely
different and independent. You must choose one or
the other for any particular graphics window.

The program ZOOMBOX on my web page shows how
to draw a rubberband box on object graphics.
It shouldn't be terrible difficult to take the
principles learned in DrawLine and apply them
to drawing a freehand line in object graphics.
Putting the points into an IDLgrROI object
rather than a polyline object is trivial.
(At least it is suppose to be. With object
graphics, you never really know until you
try.)

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
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Open letter to RSI about dropping Alpha Tru64
Next Topic: Reversing Object Graphics Axis Range

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

Current Time: Fri Oct 10 07:27:42 PDT 2025

Total time taken to generate the page: 0.96081 seconds