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);
80 int GetNumberOfCues();
98 vtkSetMacro(Loop,
int);
99 vtkGetMacro(Loop,
int);
105 void SetAnimationTime(
double time);
120 PLAYMODE_SEQUENCE = 0,
121 PLAYMODE_REALTIME = 1
133 void TickInternal(
double currenttime,
double deltatime,
double clocktime)
override;
138 void InitializeChildren();
139 void FinalizeChildren();
virtual void EndCueInternal()
These are the internal methods that actually trigger they corresponding events.
static vtkAnimationCue * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetModeToSequence()
Get/Set the PlayMode for running/playing the animation scene.
Timer support and logging.
vtkTimerLog * AnimationTimer
virtual void TickInternal(double currenttime, double deltatime, double clocktime)
These are the internal methods that actually trigger they corresponding events.
virtual void StartCueInternal()
These are the internal methods that actually trigger they corresponding events.
a simple class to control print indentation
vtkCollection * AnimationCues
int IsInPlay()
Returns if the animation is being played.
virtual void SetTimeMode(int mode)
Get/Set the time mode.
void SetModeToRealTime()
Get/Set the PlayMode for running/playing the animation scene.
iterator through a vtkCollection.
the animation scene manager.
create and manipulate ordered lists of objects
vtkCollectionIterator * AnimationCuesIterator