Go to the documentation of this file.
33 #ifndef vtkAnimationScene_h
34 #define vtkAnimationScene_h
36 #include "vtkCommonDataModelModule.h"
59 vtkSetMacro(PlayMode,
int);
62 vtkGetMacro(PlayMode,
int);
71 vtkSetMacro(FrameRate,
double);
72 vtkGetMacro(FrameRate,
double);
101 vtkSetMacro(Loop,
int);
102 vtkGetMacro(Loop,
int);
136 void TickInternal(
double currenttime,
double deltatime,
double clocktime)
override;
~vtkAnimationScene() override
void RemoveCue(vtkAnimationCue *cue)
the animation scene manager.
vtkTimerLog * AnimationTimer
void AddCue(vtkAnimationCue *cue)
Add/Remove an AnimationCue to/from the Scene.
void TickInternal(double currenttime, double deltatime, double clocktime) override
Called on every valid tick.
static vtkAnimationScene * New()
create and manipulate ordered lists of objects
vtkCollection * AnimationCues
void SetTimeMode(int mode) override
Overridden to allow change to Normalized mode only if none of the constituent cues is in Relative tim...
iterator through a vtkCollection.
a simple class to control print indentation
int IsInPlay()
Returns if the animation is being played.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Timer support and logging.
virtual void Play()
Starts playing the animation scene.
vtkCollectionIterator * AnimationCuesIterator
void SetAnimationTime(double time)
Makes the state of the scene same as the given time.
void EndCueInternal() override
void StartCueInternal() override
These are the internal methods that actually trigger they corresponding events.
void InitializeChildren()
void Stop()
Stops the animation scene that is running.