32 #ifndef vtkAnimationCue_h
33 #define vtkAnimationCue_h
35 #include "vtkCommonCoreModule.h"
38 VTK_ABI_NAMESPACE_BEGIN
72 vtkGetMacro(TimeMode,
int);
88 vtkSetMacro(StartTime,
double);
89 vtkGetMacro(StartTime,
double);
102 vtkSetMacro(EndTime,
double);
103 vtkGetMacro(EndTime,
double);
124 virtual void Tick(
double currenttime,
double deltatime,
double clocktime);
145 vtkGetMacro(AnimationTime,
double);
154 vtkGetMacro(DeltaTime,
double);
164 vtkGetMacro(ClockTime,
double);
169 TIMEMODE_NORMALIZED = 0,
170 TIMEMODE_RELATIVE = 1
222 virtual void TickInternal(
double currenttime,
double deltatime,
double clocktime);
240 VTK_ABI_NAMESPACE_END
static vtkAnimationCue * New()
~vtkAnimationCue() override
void SetTimeModeToRelative()
Get/Set the time mode.
void SetTimeModeToNormalized()
Get/Set the time mode.
virtual void StartCueInternal()
These are the internal methods that actually trigger they corresponding events.
virtual void EndCueInternal()
These are the internal methods that actually trigger they corresponding events.
virtual bool CheckEndCue(double currenttime)
These test the start, end time variables with current time to decide whether the animation can begin ...
virtual void Initialize()
Called when the playing of the scene begins.
virtual void Finalize()
Called when the scene reaches the end.
vtkSetEnumMacro(Direction, PlayDirection)
Set/get the direction of playback.
virtual bool CheckStartCue(double currenttime)
These test the start, end time variables with current time to decide whether the animation can begin ...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int CueState
Current state of the Cue.
virtual void TickInternal(double currenttime, double deltatime, double clocktime)
These are the internal methods that actually trigger they corresponding events.
virtual void SetTimeMode(int mode)
Get/Set the time mode.
virtual void Tick(double currenttime, double deltatime, double clocktime)
Indicates a tick or point in time in the animation.
vtkGetEnumMacro(Direction, PlayDirection)
Set/get the direction of playback.
a simple class to control print indentation
abstract base class for most VTK objects