Go to the documentation of this file.
12 #ifndef vtkTimestepsAnimationPlayer_h
13 #define vtkTimestepsAnimationPlayer_h
16 #include "vtkRemotingAnimationModule.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;
double GoToNext(double, double, double currenttime) override
Return next/previous time knowing start, end and current.
double GoToPrevious(double, double, double currenttime) override
Return next/previous time knowing start, end and current.
void EndLoop() override
Manage loop inside playbackwindow.
virtual double GetPreviousTime(double currenttime)=0
Manage loop inside playbackwindow.
virtual void StartLoop(double starttime, double endtime, double curtime, double *playbackWindow)=0
Manage loop inside playbackwindow.
vtkAnimationPlayer subclass that plays through a discrete set of time values.
unsigned long FramesPerTimestep
virtual double GetNextTime(double currentime)=0
Manage loop inside playbackwindow.
void PrintSelf(ostream &os, vtkIndent indent) override