24 #ifndef vtkTimestepsAnimationPlayer_h 25 #define vtkTimestepsAnimationPlayer_h 28 #include "vtkPVAnimationModule.h" 30 class vtkTimestepsAnimationPlayerSetOfDouble;
37 void PrintSelf(ostream& os, vtkIndent indent);
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 virtual void StartLoop(
double,
double,
double*);
91 virtual double GoToNext(
double,
double,
double currenttime)
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.
virtual double GoToPrevious(double, double, double currenttime)
Abstract superclass for an animation player.
unsigned long FramesPerTimestep
virtual void StartLoop(double starttime, double endtime, double *playbackWindow)=0
void PrintSelf(ostream &os, vtkIndent indent)
virtual double GoToNext(double, double, double currenttime)
vtkAnimationPlayer subclass that plays through a discrete set of time values.