ParaView
|
animation scene for ParaView. More...
#include <vtkSMAnimationScene.h>
Inherits vtkAnimationCue.
Public Types | |
enum | { UpdateStartEndTimesEvent = vtkCommand::UserEvent } |
typedef vtkAnimationCue | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual double | GetSceneTime () |
void | AddCue (vtkAnimationCue *cue) |
Add/Remove an AnimationCue to/from the Scene. More... | |
void | RemoveCue (vtkAnimationCue *cue) |
Add/Remove an AnimationCue to/from the Scene. More... | |
void | RemoveAllCues () |
Add/Remove an AnimationCue to/from the Scene. More... | |
int | GetNumberOfCues () |
Add/Remove an AnimationCue to/from the Scene. More... | |
void | AddViewProxy (vtkSMViewProxy *proxy) |
Add view proxies that are involved in the animation generated by this scene. More... | |
void | RemoveViewProxy (vtkSMViewProxy *proxy) |
Add view proxies that are involved in the animation generated by this scene. More... | |
void | RemoveAllViewProxies () |
Add view proxies that are involved in the animation generated by this scene. More... | |
unsigned int | GetNumberOfViewProxies () |
Access the view proxies. More... | |
vtkSMViewProxy * | GetViewProxy (unsigned int cc) |
Access the view proxies. More... | |
void | SetTimeKeeper (vtkSMProxy *) |
Set the time keeper. More... | |
virtual vtkSMProxy * | GetTimeKeeper () |
Set the time keeper. More... | |
virtual void | SetLockStartTime (bool) |
Lock the start time. More... | |
virtual bool | GetLockStartTime () |
Lock the start time. More... | |
virtual void | LockStartTimeOn () |
Lock the start time. More... | |
virtual void | LockStartTimeOff () |
Lock the start time. More... | |
virtual void | SetLockEndTime (bool) |
Lock the end time. More... | |
virtual bool | GetLockEndTime () |
Lock the end time. More... | |
virtual void | LockEndTimeOn () |
Lock the end time. More... | |
virtual void | LockEndTimeOff () |
Lock the end time. More... | |
void | SetSceneTime (double time) |
Sets the current animation time. More... | |
virtual void | SetPlaybackTimeWindow (double, double) |
Get/Set the Playback Window for this cue. More... | |
void | SetPlaybackTimeWindow (double [2]) |
Get/Set the Playback Window for this cue. More... | |
virtual double * | GetPlaybackTimeWindow () |
Get/Set the Playback Window for this cue. More... | |
virtual void | GetPlaybackTimeWindow (double &, double &) |
Get/Set the Playback Window for this cue. More... | |
virtual void | GetPlaybackTimeWindow (double [2]) |
Get/Set the Playback Window for this cue. More... | |
void | SetLoop (int val) |
Forwarded to vtkCompositeAnimationPlayer. More... | |
int | GetLoop () |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | Play () |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | Stop () |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | GoToNext () |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | GoToPrevious () |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | GoToFirst () |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | GoToLast () |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | SetPlayMode (int val) |
Forwarded to vtkCompositeAnimationPlayer. More... | |
int | GetPlayMode () |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | SetNumberOfFrames (int val) |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | SetDuration (int val) |
Forwarded to vtkCompositeAnimationPlayer. More... | |
void | SetFramesPerTimestep (int val) |
Forwarded to vtkCompositeAnimationPlayer. More... | |
virtual void | SetForceDisableCaching (bool) |
Set to true to force caching to be disabled. More... | |
virtual bool | GetForceDisableCaching () |
Set to true to force caching to be disabled. More... | |
Static Public Member Functions | |
static vtkSMAnimationScene * | New () |
static int | IsTypeOf (const char *type) |
static vtkSMAnimationScene * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSMAnimationScene () | |
~vtkSMAnimationScene () | |
virtual void | SetOverrideStillRender (bool) |
virtual void | StartCueInternal () |
Overridden to ensure that caching parameters are passed to the view correctly. More... | |
virtual void | TickInternal (double currenttime, double deltatime, double clocktime) |
Overridden to ensure that caching parameters are passed to the view correctly. More... | |
virtual void | EndCueInternal () |
Overridden to ensure that caching parameters are passed to the view correctly. More... | |
void | TimeKeeperTimeRangeChanged () |
Called when the timekeeper's time range changes. More... | |
void | TimeKeeperTimestepsChanged () |
Called when the timekeeper's time range changes. More... | |
Protected Attributes | |
bool | LockStartTime |
bool | LockEndTime |
bool | InTick |
double | SceneTime |
double | PlaybackTimeWindow [2] |
bool | ForceDisableCaching |
vtkSMProxy * | TimeKeeper |
vtkCompositeAnimationPlayer * | AnimationPlayer |
vtkEventForwarderCommand * | Forwarder |
bool | OverrideStillRender |
Friends | |
class | vtkSMAnimationSceneImageWriter |
animation scene for ParaView.
vtkSMAnimationScene extends vtkAnimationCue to add support for a scene in ParaView.
We don't use vtkAnimationScene since ParaView has more elaborate playback requirements. To support that, this class delegates playback responsibility to vtkAnimationPlayer and subclasses.
vtkSMAnimationScene also is proxy-aware and hence can work with proxies and views proxies for updating property values, rendering, etc.
vtkSMAnimationScene forwards the vtkCommand::StartEvent and vtkCommand::EndEvent from vtkCompositeAnimationPlayer to mark the start and end of animation playback.
Definition at line 46 of file vtkSMAnimationScene.h.
typedef vtkAnimationCue vtkSMAnimationScene::Superclass |
Definition at line 50 of file vtkSMAnimationScene.h.
anonymous enum |
Enumerator | |
---|---|
UpdateStartEndTimesEvent |
Definition at line 168 of file vtkSMAnimationScene.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
void vtkSMAnimationScene::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkSMAnimationScene::AddCue | ( | vtkAnimationCue * | cue | ) |
Add/Remove an AnimationCue to/from the Scene.
It's an error to add a cue twice to the Scene.
void vtkSMAnimationScene::RemoveCue | ( | vtkAnimationCue * | cue | ) |
Add/Remove an AnimationCue to/from the Scene.
It's an error to add a cue twice to the Scene.
void vtkSMAnimationScene::RemoveAllCues | ( | ) |
Add/Remove an AnimationCue to/from the Scene.
It's an error to add a cue twice to the Scene.
int vtkSMAnimationScene::GetNumberOfCues | ( | ) |
Add/Remove an AnimationCue to/from the Scene.
It's an error to add a cue twice to the Scene.
void vtkSMAnimationScene::AddViewProxy | ( | vtkSMViewProxy * | proxy | ) |
Add view proxies that are involved in the animation generated by this scene.
When playing the animation, the scene will call StillRender() on the view proxies it is aware of, also updating any caching parameters.
void vtkSMAnimationScene::RemoveViewProxy | ( | vtkSMViewProxy * | proxy | ) |
Add view proxies that are involved in the animation generated by this scene.
When playing the animation, the scene will call StillRender() on the view proxies it is aware of, also updating any caching parameters.
void vtkSMAnimationScene::RemoveAllViewProxies | ( | ) |
Add view proxies that are involved in the animation generated by this scene.
When playing the animation, the scene will call StillRender() on the view proxies it is aware of, also updating any caching parameters.
unsigned int vtkSMAnimationScene::GetNumberOfViewProxies | ( | ) |
Access the view proxies.
vtkSMViewProxy* vtkSMAnimationScene::GetViewProxy | ( | unsigned int | cc | ) |
Access the view proxies.
void vtkSMAnimationScene::SetTimeKeeper | ( | vtkSMProxy * | ) |
Set the time keeper.
Time keeper is used to obtain the information about timesteps. This is required to play animation in "Snap To Timesteps" mode.
|
virtual |
Set the time keeper.
Time keeper is used to obtain the information about timesteps. This is required to play animation in "Snap To Timesteps" mode.
|
virtual |
Lock the start time.
When locked, the StartTime won't be automatically updated when data time changes.
|
virtual |
Lock the start time.
When locked, the StartTime won't be automatically updated when data time changes.
|
virtual |
Lock the start time.
When locked, the StartTime won't be automatically updated when data time changes.
|
virtual |
Lock the start time.
When locked, the StartTime won't be automatically updated when data time changes.
|
virtual |
Lock the end time.
When locked, the EndTime won't be automatically updated when the data time changes.
|
virtual |
Lock the end time.
When locked, the EndTime won't be automatically updated when the data time changes.
|
virtual |
Lock the end time.
When locked, the EndTime won't be automatically updated when the data time changes.
|
virtual |
Lock the end time.
When locked, the EndTime won't be automatically updated when the data time changes.
|
inline |
Sets the current animation time.
Definition at line 116 of file vtkSMAnimationScene.h.
|
virtual |
|
virtual |
Get/Set the Playback Window for this cue.
The Playback Window is use to mask out time that belong to a given cue but that we don't want to play back. This is particulary useful when we want to export a subset of an animation without recomputing any start and end value relative to the cue and the number of frame associated to it. This is used by the Animation Player to only play a subset of the cue. To disable it just make the lower bound bigger than the upper one.
void vtkSMAnimationScene::SetPlaybackTimeWindow | ( | double | [2] | ) |
Get/Set the Playback Window for this cue.
The Playback Window is use to mask out time that belong to a given cue but that we don't want to play back. This is particulary useful when we want to export a subset of an animation without recomputing any start and end value relative to the cue and the number of frame associated to it. This is used by the Animation Player to only play a subset of the cue. To disable it just make the lower bound bigger than the upper one.
|
virtual |
Get/Set the Playback Window for this cue.
The Playback Window is use to mask out time that belong to a given cue but that we don't want to play back. This is particulary useful when we want to export a subset of an animation without recomputing any start and end value relative to the cue and the number of frame associated to it. This is used by the Animation Player to only play a subset of the cue. To disable it just make the lower bound bigger than the upper one.
|
virtual |
Get/Set the Playback Window for this cue.
The Playback Window is use to mask out time that belong to a given cue but that we don't want to play back. This is particulary useful when we want to export a subset of an animation without recomputing any start and end value relative to the cue and the number of frame associated to it. This is used by the Animation Player to only play a subset of the cue. To disable it just make the lower bound bigger than the upper one.
|
virtual |
Get/Set the Playback Window for this cue.
The Playback Window is use to mask out time that belong to a given cue but that we don't want to play back. This is particulary useful when we want to export a subset of an animation without recomputing any start and end value relative to the cue and the number of frame associated to it. This is used by the Animation Player to only play a subset of the cue. To disable it just make the lower bound bigger than the upper one.
void vtkSMAnimationScene::SetLoop | ( | int | val | ) |
Forwarded to vtkCompositeAnimationPlayer.
int vtkSMAnimationScene::GetLoop | ( | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::Play | ( | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::Stop | ( | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::GoToNext | ( | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::GoToPrevious | ( | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::GoToFirst | ( | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::GoToLast | ( | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::SetPlayMode | ( | int | val | ) |
Forwarded to vtkCompositeAnimationPlayer.
int vtkSMAnimationScene::GetPlayMode | ( | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::SetNumberOfFrames | ( | int | val | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::SetDuration | ( | int | val | ) |
Forwarded to vtkCompositeAnimationPlayer.
void vtkSMAnimationScene::SetFramesPerTimestep | ( | int | val | ) |
Forwarded to vtkCompositeAnimationPlayer.
|
virtual |
Set to true to force caching to be disabled.
When false (default), caching is determined based on the value from vtkPVGeneralSettings::GetInstance()->GetCacheGeometryForAnimation().
|
virtual |
Set to true to force caching to be disabled.
When false (default), caching is determined based on the value from vtkPVGeneralSettings::GetInstance()->GetCacheGeometryForAnimation().
|
protectedvirtual |
Overridden to ensure that caching parameters are passed to the view correctly.
|
protectedvirtual |
Overridden to ensure that caching parameters are passed to the view correctly.
|
protectedvirtual |
Overridden to ensure that caching parameters are passed to the view correctly.
|
protected |
Called when the timekeeper's time range changes.
|
protected |
Called when the timekeeper's time range changes.
|
protectedvirtual |
|
friend |
Definition at line 218 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 208 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 209 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 210 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 211 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 212 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 213 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 214 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 215 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 216 of file vtkSMAnimationScene.h.
|
protected |
Definition at line 219 of file vtkSMAnimationScene.h.