ParaView
|
This is composite animation player that can me made to play an animation using the active player. More...
#include <vtkCompositeAnimationPlayer.h>
Public Types | |
enum | Modes { SEQUENCE = 0, REAL_TIME = 1, SNAP_TO_TIMESTEPS = 2 } |
typedef vtkAnimationPlayer | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetNumberOfFrames (int val) |
Forwarded to vtkSequenceAnimationPlayer. More... | |
void | SetDuration (int val) |
Forwarded to vtkRealtimeAnimationPlayer. More... | |
virtual void | SetPlayMode (int) |
Get/Set the play mode. More... | |
virtual int | GetPlayMode () |
Get/Set the play mode. More... | |
void | AddTimeStep (double val) |
Forwarded to vtkTimestepsAnimationPlayer. More... | |
void | RemoveAllTimeSteps () |
Forwarded to vtkTimestepsAnimationPlayer. More... | |
void | SetFramesPerTimestep (int val) |
Forwarded to vtkTimestepsAnimationPlayer. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Play () |
Start playing the animation. More... | |
void | Stop () |
Stop playing the animation. More... | |
int | IsInPlay () |
Returns if the animation is currently playing. More... | |
virtual bool | GetInPlay () |
void | GoToNext () |
Take the animation scene to next frame. More... | |
void | GoToPrevious () |
Take animation scene to previous frame. More... | |
void | GoToFirst () |
Take animation scene to first frame. More... | |
void | GoToLast () |
Take animation scene to last frame. More... | |
virtual void | SetAnimationScene (vtkSMAnimationScene *) |
Set the animation scene that is to be played by this player. More... | |
vtkSMAnimationScene * | GetAnimationScene () |
Set the animation scene that is to be played by this player. More... | |
virtual void | SetLoop (bool) |
Set to true to play the animation in a loop. More... | |
virtual bool | GetLoop () |
Set to true to play the animation in a loop. More... | |
Static Public Member Functions | |
static vtkCompositeAnimationPlayer * | New () |
static int | IsTypeOf (const char *type) |
static vtkCompositeAnimationPlayer * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkAnimationPlayer * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkCompositeAnimationPlayer () | |
~vtkCompositeAnimationPlayer () | |
virtual double | GoToNext (double start, double end, double currenttime) |
virtual double | GoToPrevious (double start, double end, double currenttime) |
vtkAnimationPlayer * | GetActivePlayer () |
virtual void | StartLoop (double starttime, double endtime, double *playbackWindow) |
Delegated to the active animation player. More... | |
virtual void | EndLoop () |
Delegated to the active animation player. More... | |
virtual double | GetNextTime (double currentime) |
Delegated to the active animation player. More... | |
![]() | |
vtkAnimationPlayer () | |
~vtkAnimationPlayer () | |
Protected Attributes | |
vtkSequenceAnimationPlayer * | SequenceAnimationPlayer |
vtkRealtimeAnimationPlayer * | RealtimeAnimationPlayer |
vtkTimestepsAnimationPlayer * | TimestepsAnimationPlayer |
int | PlayMode |
This is composite animation player that can me made to play an animation using the active player.
It provides API to add animation players and then set one of them as the active one.
Definition at line 33 of file vtkCompositeAnimationPlayer.h.
Definition at line 37 of file vtkCompositeAnimationPlayer.h.
Enumerator | |
---|---|
SEQUENCE | |
REAL_TIME | |
SNAP_TO_TIMESTEPS |
Definition at line 40 of file vtkCompositeAnimationPlayer.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkAnimationPlayer.
|
static |
|
virtual |
Reimplemented from vtkAnimationPlayer.
|
static |
void vtkCompositeAnimationPlayer::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Get/Set the play mode.
|
virtual |
Get/Set the play mode.
void vtkCompositeAnimationPlayer::SetNumberOfFrames | ( | int | val | ) |
Forwarded to vtkSequenceAnimationPlayer.
void vtkCompositeAnimationPlayer::SetDuration | ( | int | val | ) |
Forwarded to vtkRealtimeAnimationPlayer.
void vtkCompositeAnimationPlayer::AddTimeStep | ( | double | val | ) |
Forwarded to vtkTimestepsAnimationPlayer.
void vtkCompositeAnimationPlayer::RemoveAllTimeSteps | ( | ) |
Forwarded to vtkTimestepsAnimationPlayer.
void vtkCompositeAnimationPlayer::SetFramesPerTimestep | ( | int | val | ) |
Forwarded to vtkTimestepsAnimationPlayer.
|
protectedvirtual |
Delegated to the active animation player.
Implements vtkAnimationPlayer.
|
protectedvirtual |
Delegated to the active animation player.
Implements vtkAnimationPlayer.
|
protectedvirtual |
Delegated to the active animation player.
Implements vtkAnimationPlayer.
|
protectedvirtual |
Implements vtkAnimationPlayer.
|
protectedvirtual |
Implements vtkAnimationPlayer.
|
protected |
|
protected |
Definition at line 92 of file vtkCompositeAnimationPlayer.h.
|
protected |
Definition at line 93 of file vtkCompositeAnimationPlayer.h.
|
protected |
Definition at line 94 of file vtkCompositeAnimationPlayer.h.
|
protected |
Definition at line 96 of file vtkCompositeAnimationPlayer.h.