ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPVCameraKeyFrame Class Reference

#include <vtkPVCameraKeyFrame.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetKeyValue (unsigned int, double)
virtual void SetKeyValue (double)
virtual double GetKeyValue (unsigned int)
virtual void UpdateValue (double currenttime, vtkPVAnimationCue *cue, vtkPVKeyFrame *next)
virtual vtkCameraGetCamera ()
void SetPosition (double x, double y, double z)
void SetFocalPoint (double x, double y, double z)
void SetViewUp (double x, double y, double z)
void SetViewAngle (double angle)
void SetParallelScale (double scale)
void AddPositionPathPoint (double x, double y, double z)
void ClearPositionPath ()
void AddFocalPathPoint (double x, double y, double z)
void ClearFocalPath ()
void SetFocalPointMode (int val)
void SetPositionMode (int val)
void SetClosedFocalPath (bool val)
void SetClosedPositionPath (bool val)

Static Public Member Functions

static vtkPVCameraKeyFrameNew ()
static int IsTypeOf (const char *type)
static vtkPVCameraKeyFrameSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPVCameraKeyFrame ()
 ~vtkPVCameraKeyFrame ()

Protected Attributes

vtkCameraCamera
vtkCameraInterpolator2Interpolator

Detailed Description

Special key frame for animating Camera. Unlike typical keyframes, this keyframe interpolates a camera and not a property on the camera.

Definition at line 30 of file vtkPVCameraKeyFrame.h.


Constructor & Destructor Documentation

vtkPVCameraKeyFrame::vtkPVCameraKeyFrame ( ) [protected]
vtkPVCameraKeyFrame::~vtkPVCameraKeyFrame ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkPVKeyFrame.

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

Reimplemented from vtkPVKeyFrame.

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

Reimplemented from vtkPVKeyFrame.

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

Reimplemented from vtkPVKeyFrame.

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

Reimplemented from vtkPVKeyFrame.

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

Reimplemented from vtkPVKeyFrame.

virtual void vtkPVCameraKeyFrame::UpdateValue ( double  currenttime,
vtkPVAnimationCue cue,
vtkPVKeyFrame next 
) [virtual]

If the vtkPVCameraCueManipulator is in CAMERA mode, then this method is not even called since the interpolation is done by vtkCameraInterpolator maintained by vtkPVCameraCueManipulator itself. However, in PATH mode, this method is called to allow the key frame to use vtkCameraInterpolator2 to do path-based interpolations for the camera.

Reimplemented from vtkPVKeyFrame.

virtual void vtkPVCameraKeyFrame::SetKeyValue ( unsigned  index,
double  val 
) [inline, virtual]

Get/Set the animated value at this key frame. Note that is the number of values is adjusted to fit the index specified in SetKeyValue.

Reimplemented from vtkPVKeyFrame.

Definition at line 49 of file vtkPVCameraKeyFrame.h.

virtual void vtkPVCameraKeyFrame::SetKeyValue ( double  val) [inline, virtual]

Get/Set the animated value at this key frame. Note that is the number of values is adjusted to fit the index specified in SetKeyValue.

Reimplemented from vtkPVKeyFrame.

Definition at line 50 of file vtkPVCameraKeyFrame.h.

virtual double vtkPVCameraKeyFrame::GetKeyValue ( unsigned  index) [inline, virtual]

Get/Set the animated value at this key frame. Note that is the number of values is adjusted to fit the index specified in SetKeyValue.

Reimplemented from vtkPVKeyFrame.

Definition at line 51 of file vtkPVCameraKeyFrame.h.

virtual vtkCamera* vtkPVCameraKeyFrame::GetCamera ( ) [virtual]

Get the camera i.e. the key value for this key frame.

void vtkPVCameraKeyFrame::SetPosition ( double  x,
double  y,
double  z 
)

Methods to set the current camera value.

void vtkPVCameraKeyFrame::SetFocalPoint ( double  x,
double  y,
double  z 
)

Methods to set the current camera value.

void vtkPVCameraKeyFrame::SetViewUp ( double  x,
double  y,
double  z 
)

Methods to set the current camera value.

void vtkPVCameraKeyFrame::SetViewAngle ( double  angle)

Methods to set the current camera value.

void vtkPVCameraKeyFrame::SetParallelScale ( double  scale)

Methods to set the current camera value.

void vtkPVCameraKeyFrame::AddPositionPathPoint ( double  x,
double  y,
double  z 
)

Forwarded to vtkCameraInterpolator2.

void vtkPVCameraKeyFrame::ClearPositionPath ( )

Forwarded to vtkCameraInterpolator2.

void vtkPVCameraKeyFrame::AddFocalPathPoint ( double  x,
double  y,
double  z 
)

Forwarded to vtkCameraInterpolator2.

void vtkPVCameraKeyFrame::ClearFocalPath ( )

Forwarded to vtkCameraInterpolator2.

void vtkPVCameraKeyFrame::SetFocalPointMode ( int  val)

Forwarded to vtkCameraInterpolator2.

void vtkPVCameraKeyFrame::SetPositionMode ( int  val)

Forwarded to vtkCameraInterpolator2.

void vtkPVCameraKeyFrame::SetClosedFocalPath ( bool  val)

Forwarded to vtkCameraInterpolator2.

void vtkPVCameraKeyFrame::SetClosedPositionPath ( bool  val)

Forwarded to vtkCameraInterpolator2.


Member Data Documentation

Definition at line 83 of file vtkPVCameraKeyFrame.h.

Definition at line 84 of file vtkPVCameraKeyFrame.h.


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