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

Home » Public Forums » archive » Re: object graphics: any similar tools already written?
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: object graphics: any similar tools already written? [message #54219 is a reply to message #54216] Fri, 25 May 2007 16:01 Go to previous message
Robbie is currently offline  Robbie
Messages: 165
Registered: February 2006
Senior Member
Generally I don't feel comfortable with event loops which are as long
as yours. An idea I came up with was to write a "control" object for
each type of movement operation on the object graphic. For example,
you can add any model or scalable object graphic the 'zoom control'.
The control class takes care of capturing and sending events to
the ::event method. It also takes care of redrawing for you and will
do delayed redraws reduce the calls to the ::draw method.

You could combine many controls to get the same effect as yours. The
advantage is that the same controls can be used for all relevant
object graphics.

Source code for my control class is available from http://barnett.id.au/idl/
I have a personal library of my own controls, which are available on
request.

I'm curious to know how someone else would use the control class. I
can't help but feel that my personal library of controls is biased to
my set of problems. I'm not sure that it's as generic as I'd like it
to be and someone else might have better ideas of how to implement the
same thing.

Robbie
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Anyone using IUE software library in IDL?
Next Topic: Re: Counting the number of iregular value in regular grid

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

Current Time: Sun Nov 30 05:31:00 PST 2025

Total time taken to generate the page: 1.11867 seconds