ParaView
|
Special key frame for animating Camera. More...
#include <vtkPVCameraKeyFrame.h>
Public Types | |
typedef vtkPVKeyFrame | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | UpdateValue (double currenttime, vtkPVAnimationCue *cue, vtkPVKeyFrame *next) |
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. More... | |
virtual void | SetKeyValue (unsigned int, double) |
Get/Set the animated value at this key frame. More... | |
virtual void | SetKeyValue (double) |
Get/Set the animated value at this key frame. More... | |
virtual double | GetKeyValue (unsigned int) |
virtual vtkCamera * | GetCamera () |
Get the camera i.e. More... | |
void | SetPosition (double x, double y, double z) |
Methods to set the current camera value. More... | |
void | SetFocalPoint (double x, double y, double z) |
Methods to set the current camera value. More... | |
void | SetViewUp (double x, double y, double z) |
Methods to set the current camera value. More... | |
void | SetViewAngle (double angle) |
Methods to set the current camera value. More... | |
void | SetParallelScale (double scale) |
Methods to set the current camera value. More... | |
void | AddPositionPathPoint (double x, double y, double z) |
Forwarded to vtkCameraInterpolator2. More... | |
void | ClearPositionPath () |
Forwarded to vtkCameraInterpolator2. More... | |
void | AddFocalPathPoint (double x, double y, double z) |
Forwarded to vtkCameraInterpolator2. More... | |
void | ClearFocalPath () |
Forwarded to vtkCameraInterpolator2. More... | |
void | SetFocalPointMode (int val) |
Forwarded to vtkCameraInterpolator2. More... | |
void | SetPositionMode (int val) |
Forwarded to vtkCameraInterpolator2. More... | |
void | SetClosedFocalPath (bool val) |
Forwarded to vtkCameraInterpolator2. More... | |
void | SetClosedPositionPath (bool val) |
Forwarded to vtkCameraInterpolator2. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | RemoveAllKeyValues () |
Removes all key values. More... | |
virtual void | SetKeyTime (double) |
Key time is the time at which this key frame is associated. More... | |
virtual double | GetKeyTime () |
Key time is the time at which this key frame is associated. More... | |
double | GetKeyValue () |
Get/Set the animated value at this key frame. More... | |
double | GetKeyValue (unsigned int index) |
Get/Set the animated value at this key frame. More... | |
unsigned int | GetNumberOfKeyValues () |
Set/Get the number of key values this key frame currently stores. More... | |
virtual void | SetNumberOfKeyValues (unsigned int num) |
Set/Get the number of key values this key frame currently stores. More... | |
Static Public Member Functions | |
static vtkPVCameraKeyFrame * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVCameraKeyFrame * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPVKeyFrame * | SafeDownCast (vtkObject *o) |
static vtkPVKeyFrame * | New () |
Protected Member Functions | |
vtkPVCameraKeyFrame () | |
~vtkPVCameraKeyFrame () | |
![]() | |
vtkPVKeyFrame () | |
~vtkPVKeyFrame () | |
Protected Attributes | |
vtkCamera * | Camera |
vtkCameraInterpolator2 * | Interpolator |
![]() | |
double | KeyTime |
vtkPVKeyFrameInternals * | Internals |
Special key frame for animating Camera.
Unlike typical keyframes, this keyframe interpolates a camera and not a property on the camera.
Definition at line 32 of file vtkPVCameraKeyFrame.h.
Definition at line 36 of file vtkPVCameraKeyFrame.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPVKeyFrame.
|
static |
|
virtual |
Reimplemented from vtkPVKeyFrame.
|
static |
void vtkPVCameraKeyFrame::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
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.
|
inlinevirtual |
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.
|
inlinevirtual |
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.
|
inlinevirtual |
Definition at line 51 of file vtkPVCameraKeyFrame.h.
|
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.
|
protected |
Definition at line 89 of file vtkPVCameraKeyFrame.h.
|
protected |
Definition at line 90 of file vtkPVCameraKeyFrame.h.