I think something like this was implemented by Bertrand Bellenot with
his RootShower example(see:
http://root.bnl.gov/QtRoot/RootShowerAnimated.png )
Click http://root.bnl.gov/QtRoot/downloads/new.exe to try it on Windows.
To do what you want Qt Signal / Slot approach can be used:
http://root.bnl.gov/QtRoot/QtRoot.html#signal
and
http://root.bnl.gov/QtRoot/QtRoot.html#gifbatch
Hope this help,
Valeri
> -----Original Message-----
> From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]
> On Behalf Of Nick van Eijndhoven
> Sent: Tuesday, May 27, 2003 8:04 AM
> To: Thomas Bretz
> Cc: roottalk@pcroot.cern.ch
> Subject: Re: [ROOT] Movies from a canvas
>
> Hi Thomas,
> This is a very good idea; I never realised this.
> Indeed it would offer a very nice possibility to show the development
> of certain processes interactively, e.g. in giving lectures.
> So, in view of my teacing activities I would be very much in favour
> of such a facility.
>
> Cheers,
> Nick.
>
> --
> Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl
http://www.phys.uu.nl/~nick
>
------------------------------------------------------------------------
--
> Org.: Utrecht University, Faculty of Physics and Astronomy
> Address: Princetonplein 5, NL-3584 CC Utrecht, The Netherlands
> Phone: +31-30-2532331(direct) +31-30-2531492(secr.) Fax:
+31-30-2518689
> CERN: +41-22-7679751(direct) +41-22-7675857(secr.) Fax:
+41-22-7679480
> Offices: Buys Ballot laboratory Room 710 (Utrecht) B23 1-020 (CERN)
>
------------------------------------------------------------------------
--
>
>
> Thomas Bretz wrote:
> >
> > Dear all,
> >
> > has everybody ever thought about creating movies (avi, mpg, ...)
from a
> > canvas? Each time gPad->Update() is called a new frame could be
written
> > to a stream. One could use standard libraries like ffmpeg or
similar...
> >
> > Thomas.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET