38#ifndef vtkAnimationCue_h
39#define vtkAnimationCue_h
41#include "vtkCommonCoreModule.h"
44VTK_ABI_NAMESPACE_BEGIN
78 vtkGetMacro(TimeMode,
int);
94 vtkSetMacro(StartTime,
double);
95 vtkGetMacro(StartTime,
double);
108 vtkSetMacro(EndTime,
double);
109 vtkGetMacro(EndTime,
double);
130 virtual void Tick(
double currenttime,
double deltatime,
double clocktime);
151 vtkGetMacro(AnimationTime,
double);
160 vtkGetMacro(DeltaTime,
double);
170 vtkGetMacro(ClockTime,
double);
175 TIMEMODE_NORMALIZED = 0,
176 TIMEMODE_RELATIVE = 1
228 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