12 #ifndef vtkTimestepsAnimationPlayer_h 13 #define vtkTimestepsAnimationPlayer_h 18 class vtkTimestepsAnimationPlayerSetOfDouble;
31 void AddTimeStep(
double time);
32 void RemoveTimeStep(
double time);
38 void RemoveAllTimeSteps();
43 unsigned int GetNumberOfTimeSteps();
49 vtkSetClampMacro(FramesPerTimestep,
unsigned long, 1, VTK_UNSIGNED_LONG_MAX);
50 vtkGetMacro(FramesPerTimestep,
unsigned long);
57 double GetNextTimeStep(
double time);
64 double GetPreviousTimeStep(
double time);
76 void StartLoop(
double,
double,
double,
double* playbackWindow)
override;
84 double GoToNext(
double,
double,
double currenttime)
override 86 return this->GetNextTimeStep(currenttime);
91 return this->GetPreviousTimeStep(currenttime);
94 double PlaybackWindow[2];
105 double GetNextInternal(
double time,
double defaultVal);
107 vtkTimestepsAnimationPlayerSetOfDouble* TimeSteps;
virtual double GetNextTime(double currentime)=0
Manage loop inside playbackwindow.
Abstract superclass for an animation player.
virtual void StartLoop(double starttime, double endtime, double curtime, double *playbackWindow)=0
Manage loop inside playbackwindow.
double GoToNext(double, double, double currenttime) override
Return next/previous time knowing start, end and current.
unsigned long FramesPerTimestep
double GoToPrevious(double, double, double currenttime) override
Return next/previous time knowing start, end and current.
#define VTKREMOTINGANIMATION_EXPORT
virtual double GetPreviousTime(double currenttime)=0
Manage loop inside playbackwindow.
vtkAnimationPlayer subclass that plays through a discrete set of time values.
void PrintSelf(ostream &os, vtkIndent indent) override
void EndLoop() override
Manage loop inside playbackwindow.