11 #ifndef vtkCompositeAnimationPlayer_h 12 #define vtkCompositeAnimationPlayer_h 37 vtkSetMacro(PlayMode,
int);
38 vtkGetMacro(PlayMode,
int);
44 void SetNumberOfFrames(
int val);
50 void AddTimeStep(
double val);
51 void RemoveAllTimeSteps();
52 void SetFramesPerTimestep(
int val);
70 void StartLoop(
double starttime,
double endtime,
double curtime,
double* playbackWindow)
override;
74 double GoToNext(
double start,
double end,
double currenttime)
override;
75 double GoToPrevious(
double start,
double end,
double currenttime)
override;
90 vtkInternal* Internal;
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.
virtual void SetStride(int)
Get/Set the stride value fot the animation player.
vtkTimestepsAnimationPlayer * TimestepsAnimationPlayer
This is composite animation player that can me made to play an animation using the active player...
void GoToPrevious()
Take animation scene to previous frame.
friend class vtkCompositeAnimationPlayer
virtual void EndLoop()=0
Manage loop inside playbackwindow.
#define VTKREMOTINGANIMATION_EXPORT
void GoToNext()
Take the animation scene to next frame.
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
vtkSequenceAnimationPlayer * SequenceAnimationPlayer