23 #ifndef vtkCompositeAnimationPlayer_h 24 #define vtkCompositeAnimationPlayer_h 27 #include "vtkRemotingAnimationModule.h" 51 vtkSetMacro(PlayMode,
int);
52 vtkGetMacro(PlayMode,
int);
58 void SetNumberOfFrames(
int val);
63 void SetDuration(
int val);
69 void AddTimeStep(
double val);
70 void RemoveAllTimeSteps();
71 void SetFramesPerTimestep(
int val);
82 void StartLoop(
double starttime,
double endtime,
double curtime,
double* playbackWindow)
override;
87 double GoToNext(
double start,
double end,
double currenttime)
override;
88 double GoToPrevious(
double start,
double end,
double currenttime)
override;
103 vtkInternal* Internal;
virtual double GetNextTime(double currentime)=0
Return the next time given the current time.
Abstract superclass for an animation player.
vtkRealtimeAnimationPlayer * RealtimeAnimationPlayer
virtual void StartLoop(double starttime, double endtime, double curtime, double *playbackWindow)=0
Animation player that plays in real time.
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
void GoToNext()
Take the animation scene to next frame.
vtkAnimationPlayer subclass that plays through a discrete set of time values.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSequenceAnimationPlayer * SequenceAnimationPlayer