61#ifndef vtkAnimationCue_h
62#define vtkAnimationCue_h
64#include "vtkCommonCoreModule.h"
67VTK_ABI_NAMESPACE_BEGIN
101 vtkGetMacro(TimeMode,
int);
117 vtkSetMacro(StartTime,
double);
118 vtkGetMacro(StartTime,
double);
131 vtkSetMacro(EndTime,
double);
132 vtkGetMacro(EndTime,
double);
153 virtual void Tick(
double currenttime,
double deltatime,
double clocktime);
174 vtkGetMacro(AnimationTime,
double);
183 vtkGetMacro(DeltaTime,
double);
193 vtkGetMacro(ClockTime,
double);
198 TIMEMODE_NORMALIZED = 0,
199 TIMEMODE_RELATIVE = 1
251 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