9 #ifndef vtkSequenceAnimationPlayer_h 10 #define vtkSequenceAnimationPlayer_h 22 vtkSetClampMacro(NumberOfFrames,
int, 2, VTK_INT_MAX);
23 vtkGetMacro(NumberOfFrames,
int);
34 void StartLoop(
double start,
double end,
double,
double* playbackwindow)
override;
49 double GoToNext(
double start,
double end,
double currenttime)
override;
50 double GoToPrevious(
double start,
double end,
double currenttime)
override;
58 int GetTimestep(
double start,
double end,
double current);
64 double GetTimeFromTimestep(
double start,
double end,
int timestep);
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.
void EndLoop() override
Manage loop inside playbackwindow.
void GoToPrevious()
Take animation scene to previous frame.
#define VTKREMOTINGANIMATION_EXPORT
void GoToNext()
Take the animation scene to next frame.
virtual double GetPreviousTime(double currenttime)=0
Manage loop inside playbackwindow.
void PrintSelf(ostream &os, vtkIndent indent) override