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

Home » Public Forums » archive » Xinteranimate, getting control back
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: Xinteranimate, getting control back [message #13471 is a reply to message #13354] Wed, 11 November 1998 00:00 Go to previous message
philip aldis is currently offline  philip aldis
Messages: 13
Registered: October 1998
Junior Member
Jeff Tyler wrote:

> I am writing some code to model environmental changes over a number of
> years. The datasets can get quite large and the best way to communicate
> the effect of changing model parameters is to provide images to the
> user. The number of images to show users ranges from 15-100, and in the
> future may be even larger. I want to animate this and it looks like
> XINTERANIMAE is the best way to go.

Now, I'm not so sure. I've written a bit of code, (well quite a large bit of
code) which replaces XINTERANIMATE, and my code is a great deal easier to
understand and so you could manipulate it to do what ever you wanted and
link it in with your current widget program, or if it's not a widget program
then call form the program.

There are several advantages to my program, if you wanted to put a colour
bar on the animation, or anything else, then it is very easy to do. You can
check out a post I put about it titled : a replacement for xinteranimate.

But the main advantage is to do with pixmap storage space, my program only
stores the minimum amount, i.e. it stores no black space, and never stores
more than one copy of anything, so it would only store one colour bar in
pixmaps.

Basically, I guess the fact that you would be able to change the code to
exactly what you wanted, quite easily, rather than xinter.. which is written
in such dense code that it is hard to understand, means that my program
would be ideal.

> My problem is that I want to be able to compute a set of results, let
> the user see the animation and then go back and compute a new set of
> results that the user then can animate again. However, once I start
> XINTERANIMATE then IDL wants the user's control of the program to go to
> the widget and when the user hits the "end animation" button, the
> program ends. I would prefer for control to go back to my program where
> the user can change model parameters, recompute and then run a new
> animation. Can anybod suggest how to get XINTERANIMATE to return
> control to the main program once it has stopped, or some other solution
> to the problem.
>
> thanks,
> Jeff Tyler
> Great Lakes Environmental Research Laboratory

As for the problem you highlight here, all you would have to do is change
the event handler on my program for the quit button, so that it notified,
some other program - it would be a piece of cake to do. You could change the
code quite easily.

The program is currently, about to get publication permission - I have to
get this before I can let others even look at it, and when that's done I'll
e-mail a copy to you, with some examples of how to use it, and then I would
be delighted to help you change the code to suit your particular needs.

cheers,
Phil Aldis


--
____________________________________________________________ ______________

Philip Aldis
Room B803/4
DERA Malvern tel: 0044 1684 897241
St. Andrew's Road fax: 0044 1684 894185
WR14 3PS
England

____________________________________________________________ ______________

The information contained in this e-mail and any subsequent correspondence
is private and is intended solely for the intended recipient(s). For those
other than the intended recipient(s) any disclosure, copying, distribution,
or any
action taken or omitted to be taken in reliance on such information is
prohibited and may be unlawful.
____________________________________________________________ ______________

DERA disclaimer:
The views expressed above are entirely those of the writer and do not
represent the views, policy or understanding of any other person or official
body.
____________________________________________________________ ______________
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Creating Colored MPEG Movies
Next Topic: Re: GUI Builder limited / Obj-oriented IDL

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

Current Time: Fri Oct 10 19:05:50 PDT 2025

Total time taken to generate the page: 0.32285 seconds