API Reference for Enthought Tool Suite 3.2.0

Convenience class to manage a timer and present a convenient UI. This is based on the code in enthought.tvtk.tools.visual. Here is a simple example of using this class:

>>> from enthought.mayavi import mlab
>>> def anim():
...     f = mlab.gcf()
...     while 1:
...         f.scene.camera.azimuth(10)
...         f.scene.render()
...         yield
...
>>> anim = anim()
>>> t = Animator(500, anim.next)
>>> t.edit_traits()

This makes it very easy to animate your visualizations and control it from a simple UI.

Inherits from

Attributes

Inherited from base classes

Method summary

Inherited from base classes

Methods

© Copyright 2002-2009 Enthought, Inc.