24 #ifndef vtkTimestepsAnimationPlayer_h 25 #define vtkTimestepsAnimationPlayer_h 28 #include "vtkRemotingAnimationModule.h" 30 class vtkTimestepsAnimationPlayerSetOfDouble;
43 void AddTimeStep(
double time);
44 void RemoveTimeStep(
double time);
50 void RemoveAllTimeSteps();
55 unsigned int GetNumberOfTimeSteps();
61 vtkSetClampMacro(FramesPerTimestep,
unsigned long, 1, VTK_UNSIGNED_LONG_MAX);
62 vtkGetMacro(FramesPerTimestep,
unsigned long);
69 double GetNextTimeStep(
double time);
76 double GetPreviousTimeStep(
double time);
83 void StartLoop(
double,
double,
double,
double*)
override;
91 double GoToNext(
double,
double,
double currenttime)
override 93 return this->GetNextTimeStep(currenttime);
98 return this->GetPreviousTimeStep(currenttime);
101 double PlaybackWindow[2];
109 vtkTimestepsAnimationPlayerSetOfDouble* TimeSteps;
virtual double GetNextTime(double currentime)=0
Return the next time given the current time.
Abstract superclass for an animation player.
virtual void StartLoop(double starttime, double endtime, double curtime, double *playbackWindow)=0
double GoToNext(double, double, double currenttime) override
unsigned long FramesPerTimestep
double GoToPrevious(double, double, double currenttime) override
vtkAnimationPlayer subclass that plays through a discrete set of time values.
void PrintSelf(ostream &os, vtkIndent indent) override