Re: Object or direct graphics? [message #42112] |
Wed, 29 December 2004 16:08 |
n
Messages: 5 Registered: January 2005
|
Junior Member |
|
|
Thanks David,
I will stick to direct graphics!
By viewport i meant a window containg just graphics that can be moved around
freely eg. to another display when using multiple monitors. I realize now
that viewport also has a specific meaning in IDL object graphics.
Cheers
Soren
> I'm not sure exactly what you mean by "viewport", but
> nothing here (that is, no mention of anything 3D) makes
> me think "object graphics." Objects are always nice,
> but direct graphics objects for these 2D applications
> are nearly always sufficient.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: Object or direct graphics? [message #42118 is a reply to message #42112] |
Tue, 28 December 2004 21:59  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Soren writes:
> Firstly, thanks to David Fanning for a reply to an earlier post of
> mine on some dicom issues - due to some problems at google with
> newsgroup message retrieval I can't reply to posts.. (Hope they fix
> that soon). Thanks for the tip, it solved the problem perfectly and i
> was delighted to see that the IDL dicom reader beat that of Matlab by
> at least a factor 10.
Oh, there is some good news! :-)
> I am working on a gui that basically consists of a free floating
> viewport with a multiframe image series together with a "main" GUI
> where ROI statistics appear when ROIs have been marked in the
> viewport.
> a) I want to be able to scale the viewport image dimensions with (if
> not a float) an integer factor.
> b) I need to make arbitrary ROI overlays in the viewport.
>
> I am new to IDL (but experienced in Matlab) and trying to figure out
> which way to go about it.
>
> Should i use object graphics or is that overkill? I have seen some
> posts here indicating that the scaling of the viewport might is easier
> solved using object graphics, but it also seems more complex to
> program.
I'm not sure exactly what you mean by "viewport", but
nothing here (that is, no mention of anything 3D) makes
me think "object graphics." Objects are always nice,
but direct graphics objects for these 2D applications
are nearly always sufficient.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|