#include <vtkPVCameraCueManipulator.h>
|
| vtkPVCameraCueManipulator () |
|
| ~vtkPVCameraCueManipulator () |
|
virtual void | Initialize (vtkPVAnimationCue *) |
| This method is called when the AnimationCue's StartAnimationCueEvent is triggerred, to let the animation manipulator know that the cue has been restarted. More...
|
|
virtual void | Finalize (vtkPVAnimationCue *) |
| This method is called when the AnimationCue's EndAnimationCueEvent is triggerred. More...
|
|
virtual void | UpdateValue (double currenttime, vtkPVAnimationCue *cueproxy) |
| This updates the values based on currenttime. More...
|
|
int | AddKeyFrameInternal (vtkPVKeyFrame *keyframe) |
|
int | RemoveKeyFrameInternal (vtkPVKeyFrame *keyframe) |
|
void | ExecuteEvent (vtkObject *obj, unsigned long event, void *) |
|
| vtkPVKeyFrameCueManipulator () |
| This method iterates over all added keyframe proxies and updates the domains for all keyframes, such that for every keyframe J, with keytime between keyframes I and K, the domain for keytime of J is (DomainJ)min = KeyTimeI and (DomainJ)max = KeyTimeK. More...
|
|
| ~vtkPVKeyFrameCueManipulator () |
| This method iterates over all added keyframe proxies and updates the domains for all keyframes, such that for every keyframe J, with keytime between keyframes I and K, the domain for keytime of J is (DomainJ)min = KeyTimeI and (DomainJ)max = KeyTimeK. More...
|
|
| vtkPVCueManipulator () |
|
| ~vtkPVCueManipulator () |
|
Definition at line 37 of file vtkPVCameraCueManipulator.h.
◆ Superclass
◆ Modes
◆ vtkPVCameraCueManipulator()
vtkPVCameraCueManipulator::vtkPVCameraCueManipulator |
( |
| ) |
|
|
protected |
◆ ~vtkPVCameraCueManipulator()
vtkPVCameraCueManipulator::~vtkPVCameraCueManipulator |
( |
| ) |
|
|
protected |
◆ New()
◆ GetClassName()
virtual const char* vtkPVCameraCueManipulator::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkPVCameraCueManipulator::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkPVCameraCueManipulator::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkPVCameraCueManipulator::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ SetMode()
virtual void vtkPVCameraCueManipulator::SetMode |
( |
int |
| ) |
|
|
virtual |
This manipulator has three modes:
- CAMERA - the traditional mode using vtkCameraInterpolator where camera values are directly interpolated.
- PATH - the easy-to-use path based interpolation where the camera position/camera focal point paths can be explicitly specified. We may eventually deprecate CAMERA mode since it may run out of usability as PATH mode matures. So the code precariously meanders between the two right now, but deprecating the old should help clean that up.
- FOLLOW_DATA - the camera will follow the data set with the SetDataSourceProxy() method.
◆ GetMode()
virtual int vtkPVCameraCueManipulator::GetMode |
( |
| ) |
|
|
virtual |
This manipulator has three modes:
- CAMERA - the traditional mode using vtkCameraInterpolator where camera values are directly interpolated.
- PATH - the easy-to-use path based interpolation where the camera position/camera focal point paths can be explicitly specified. We may eventually deprecate CAMERA mode since it may run out of usability as PATH mode matures. So the code precariously meanders between the two right now, but deprecating the old should help clean that up.
- FOLLOW_DATA - the camera will follow the data set with the SetDataSourceProxy() method.
◆ SetDataSourceProxy()
void vtkPVCameraCueManipulator::SetDataSourceProxy |
( |
vtkSMProxy * |
dataSourceProxy | ) |
|
Set the data soruce proxy.
This is used when in the FOLLOW_DATA mode. The camera will track the data refered to by the data source proxy.
◆ Initialize()
This method is called when the AnimationCue's StartAnimationCueEvent is triggerred, to let the animation manipulator know that the cue has been restarted.
This is here for one major reason: after the last key frame, the state of the scene must be as it was left a the the last key frame. This does not happend automatically, since if while animating the currentime never coincides with the last key frame's key time, then it never gets a chance to update the properties value. Hence, we note when the cue begins. Then, if the currentime is beyond that of the last key frame we pretend that the current time coincides with that of the last key frame and let it update the properties. This is done only once per Animation cycle. The Initialize method is used to indicate that a new animation cycle has begun.
Reimplemented from vtkPVKeyFrameCueManipulator.
◆ Finalize()
This method is called when the AnimationCue's EndAnimationCueEvent is triggerred.
Typically, the Manipulator will set the state of the Cue to that at the end of the cue.
Reimplemented from vtkPVKeyFrameCueManipulator.
◆ UpdateValue()
virtual void vtkPVCameraCueManipulator::UpdateValue |
( |
double |
currenttime, |
|
|
vtkPVAnimationCue * |
cueproxy |
|
) |
| |
|
protectedvirtual |
This updates the values based on currenttime.
currenttime is normalized to the time range of the Cue.
Reimplemented from vtkPVKeyFrameCueManipulator.
◆ Mode
int vtkPVCameraCueManipulator::Mode |
|
protected |
◆ CameraInterpolator
vtkCameraInterpolator* vtkPVCameraCueManipulator::CameraInterpolator |
|
protected |
◆ DataSourceProxy
vtkSMProxy* vtkPVCameraCueManipulator::DataSourceProxy |
|
protected |
The documentation for this class was generated from the following file: