29#ifndef vtkAnimationCue_h
30#define vtkAnimationCue_h
32#include "vtkCommonCoreModule.h"
35VTK_ABI_NAMESPACE_BEGIN
69 vtkGetMacro(TimeMode,
int);
85 vtkSetMacro(StartTime,
double);
86 vtkGetMacro(StartTime,
double);
99 vtkSetMacro(EndTime,
double);
100 vtkGetMacro(EndTime,
double);
121 virtual void Tick(
double currenttime,
double deltatime,
double clocktime);
142 vtkGetMacro(AnimationTime,
double);
151 vtkGetMacro(DeltaTime,
double);
161 vtkGetMacro(ClockTime,
double);
166 TIMEMODE_NORMALIZED = 0,
167 TIMEMODE_RELATIVE = 1
219 virtual void TickInternal(
double currenttime,
double deltatime,
double clocktime);
~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.
static vtkAnimationCue * New()
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