41 #ifndef vtkAnimationCue_h
42 #define vtkAnimationCue_h
44 #include "vtkCommonCoreModule.h"
47 VTK_ABI_NAMESPACE_BEGIN
81 vtkGetMacro(TimeMode,
int);
97 vtkSetMacro(StartTime,
double);
98 vtkGetMacro(StartTime,
double);
111 vtkSetMacro(EndTime,
double);
112 vtkGetMacro(EndTime,
double);
133 virtual void Tick(
double currenttime,
double deltatime,
double clocktime);
154 vtkGetMacro(AnimationTime,
double);
163 vtkGetMacro(DeltaTime,
double);
173 vtkGetMacro(ClockTime,
double);
178 TIMEMODE_NORMALIZED = 0,
179 TIMEMODE_RELATIVE = 1
231 virtual void TickInternal(
double currenttime,
double deltatime,
double clocktime);
249 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