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