ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPVCameraCueManipulator Class Reference

#include <vtkPVCameraCueManipulator.h>

Inheritance diagram for vtkPVCameraCueManipulator:
Inheritance graph
[legend]
Collaboration diagram for vtkPVCameraCueManipulator:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Modes { CAMERA, PATH }

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetMode (int)
virtual int GetMode ()

Static Public Member Functions

static vtkPVCameraCueManipulatorNew ()
static int IsTypeOf (const char *type)
static vtkPVCameraCueManipulatorSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPVCameraCueManipulator ()
 ~vtkPVCameraCueManipulator ()
virtual void Initialize (vtkPVAnimationCue *)
virtual void Finalize (vtkPVAnimationCue *)
virtual void UpdateValue (double currenttime, vtkPVAnimationCue *cueproxy)

Protected Attributes

int Mode
vtkCameraInterpolatorCameraInterpolator

Detailed Description

Definition at line 34 of file vtkPVCameraCueManipulator.h.


Member Enumeration Documentation

Enumerator:
CAMERA 
PATH 

Definition at line 42 of file vtkPVCameraCueManipulator.h.


Constructor & Destructor Documentation

vtkPVCameraCueManipulator::vtkPVCameraCueManipulator ( ) [protected]
vtkPVCameraCueManipulator::~vtkPVCameraCueManipulator ( ) [protected]

Member Function Documentation

static vtkPVCameraCueManipulator* vtkPVCameraCueManipulator::New ( ) [static]

Reimplemented from vtkPVKeyFrameCueManipulator.

virtual const char* vtkPVCameraCueManipulator::GetClassName ( ) [virtual]

Reimplemented from vtkPVKeyFrameCueManipulator.

static int vtkPVCameraCueManipulator::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkPVKeyFrameCueManipulator.

virtual int vtkPVCameraCueManipulator::IsA ( const char *  type) [virtual]

Reimplemented from vtkPVKeyFrameCueManipulator.

static vtkPVCameraCueManipulator* vtkPVCameraCueManipulator::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkPVKeyFrameCueManipulator.

void vtkPVCameraCueManipulator::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkPVKeyFrameCueManipulator.

virtual void vtkPVCameraCueManipulator::SetMode ( int  ) [virtual]

This manipulator has two 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.
virtual int vtkPVCameraCueManipulator::GetMode ( ) [virtual]

This manipulator has two 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.
virtual void vtkPVCameraCueManipulator::Initialize ( vtkPVAnimationCue ) [protected, virtual]

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.

virtual void vtkPVCameraCueManipulator::Finalize ( vtkPVAnimationCue ) [protected, virtual]

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.

virtual void vtkPVCameraCueManipulator::UpdateValue ( double  currenttime,
vtkPVAnimationCue cueproxy 
) [protected, virtual]

This updates the values based on currenttime. currenttime is normalized to the time range of the Cue.

Reimplemented from vtkPVKeyFrameCueManipulator.


Member Data Documentation

Definition at line 66 of file vtkPVCameraCueManipulator.h.

Definition at line 77 of file vtkPVCameraCueManipulator.h.


The documentation for this class was generated from the following file: