#include <vtkCameraRepresentation.h>
This class provides support for interactively saving a series of camera views into an interpolated path (using vtkCameraInterpolator). The class typically works in conjunction with vtkCameraWidget. To use this class simply specify the camera to interpolate and use the methods AddCameraToPath(), AnimatePath(), and InitializePath() to add a new camera view, animate the current views, and initialize the interpolation.
Definition at line 51 of file vtkCameraRepresentation.h.
Standard VTK class methods.
Reimplemented from vtkBorderRepresentation.
Definition at line 59 of file vtkCameraRepresentation.h.
vtkCameraRepresentation::vtkCameraRepresentation | ( | ) | [protected] |
vtkCameraRepresentation::~vtkCameraRepresentation | ( | ) | [protected] |
static vtkCameraRepresentation* vtkCameraRepresentation::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkBorderRepresentation.
virtual const char* vtkCameraRepresentation::GetClassName | ( | ) | [virtual] |
Standard VTK class methods.
Reimplemented from vtkBorderRepresentation.
static int vtkCameraRepresentation::IsTypeOf | ( | const char * | type | ) | [static] |
Standard VTK class methods.
Reimplemented from vtkBorderRepresentation.
virtual int vtkCameraRepresentation::IsA | ( | const char * | type | ) | [virtual] |
Standard VTK class methods.
Reimplemented from vtkBorderRepresentation.
static vtkCameraRepresentation* vtkCameraRepresentation::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Standard VTK class methods.
Reimplemented from vtkBorderRepresentation.
void vtkCameraRepresentation::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Standard VTK class methods.
Reimplemented from vtkBorderRepresentation.
void vtkCameraRepresentation::SetCamera | ( | vtkCamera * | camera | ) |
Specify the camera to interpolate. This must be specified by the user.
virtual vtkCamera* vtkCameraRepresentation::GetCamera | ( | ) | [virtual] |
Specify the camera to interpolate. This must be specified by the user.
void vtkCameraRepresentation::SetInterpolator | ( | vtkCameraInterpolator * | camInt | ) |
Get the vtkCameraInterpolator used to interpolate and save the sequence of camera views. If not defined, one is created automatically. Note that you can access this object to set the interpolation type (linear, spline) and other instance variables.
virtual vtkCameraInterpolator* vtkCameraRepresentation::GetInterpolator | ( | ) | [virtual] |
Get the vtkCameraInterpolator used to interpolate and save the sequence of camera views. If not defined, one is created automatically. Note that you can access this object to set the interpolation type (linear, spline) and other instance variables.
virtual void vtkCameraRepresentation::SetNumberOfFrames | ( | int | ) | [virtual] |
Set the number of frames to generate when playback is initiated.
virtual int vtkCameraRepresentation::GetNumberOfFrames | ( | ) | [virtual] |
Set the number of frames to generate when playback is initiated.
virtual vtkProperty2D* vtkCameraRepresentation::GetProperty | ( | ) | [virtual] |
By obtaining this property you can specify the properties of the representation.
void vtkCameraRepresentation::AddCameraToPath | ( | ) |
These methods are used to create interpolated camera paths. The AddCameraToPath() method adds the view defined by the current camera (via SetCamera()) to the interpolated camera path. AnimatePath() interpolates NumberOfFrames along the current path. InitializePath() resets the interpolated path to its initial, empty configuration.
void vtkCameraRepresentation::AnimatePath | ( | vtkRenderWindowInteractor * | rwi | ) |
These methods are used to create interpolated camera paths. The AddCameraToPath() method adds the view defined by the current camera (via SetCamera()) to the interpolated camera path. AnimatePath() interpolates NumberOfFrames along the current path. InitializePath() resets the interpolated path to its initial, empty configuration.
void vtkCameraRepresentation::InitializePath | ( | ) |
These methods are used to create interpolated camera paths. The AddCameraToPath() method adds the view defined by the current camera (via SetCamera()) to the interpolated camera path. AnimatePath() interpolates NumberOfFrames along the current path. InitializePath() resets the interpolated path to its initial, empty configuration.
virtual void vtkCameraRepresentation::BuildRepresentation | ( | ) | [virtual] |
Satisfy the superclasses' API.
Reimplemented from vtkBorderRepresentation.
virtual void vtkCameraRepresentation::GetSize | ( | double | size[2] | ) | [inline, virtual] |
Satisfy the superclasses' API.
Reimplemented from vtkBorderRepresentation.
Definition at line 105 of file vtkCameraRepresentation.h.
virtual void vtkCameraRepresentation::GetActors2D | ( | vtkPropCollection * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual void vtkCameraRepresentation::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual int vtkCameraRepresentation::RenderOverlay | ( | vtkViewport * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual int vtkCameraRepresentation::RenderOpaqueGeometry | ( | vtkViewport * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual int vtkCameraRepresentation::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
virtual int vtkCameraRepresentation::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
These methods are necessary to make this representation behave as a vtkProp.
Reimplemented from vtkBorderRepresentation.
vtkCamera* vtkCameraRepresentation::Camera [protected] |
Definition at line 125 of file vtkCameraRepresentation.h.
Definition at line 126 of file vtkCameraRepresentation.h.
int vtkCameraRepresentation::NumberOfFrames [protected] |
Definition at line 127 of file vtkCameraRepresentation.h.
double vtkCameraRepresentation::CurrentTime [protected] |
Definition at line 128 of file vtkCameraRepresentation.h.
vtkPoints* vtkCameraRepresentation::Points [protected] |
Definition at line 131 of file vtkCameraRepresentation.h.
vtkPolyData* vtkCameraRepresentation::PolyData [protected] |
Definition at line 132 of file vtkCameraRepresentation.h.
Definition at line 133 of file vtkCameraRepresentation.h.
vtkPolyDataMapper2D* vtkCameraRepresentation::Mapper [protected] |
Definition at line 134 of file vtkCameraRepresentation.h.
vtkProperty2D* vtkCameraRepresentation::Property [protected] |
Definition at line 135 of file vtkCameraRepresentation.h.
vtkActor2D* vtkCameraRepresentation::Actor [protected] |
Definition at line 136 of file vtkCameraRepresentation.h.