VTK
Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkCameraRepresentation Class Reference

represent the vtkCameraWidget More...

#include <vtkCameraRepresentation.h>

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

List of all members.

Public Member Functions

void SetCamera (vtkCamera *camera)
virtual vtkCameraGetCamera ()
void SetInterpolator (vtkCameraInterpolator *camInt)
virtual vtkCameraInterpolatorGetInterpolator ()
virtual void SetNumberOfFrames (int)
virtual int GetNumberOfFrames ()
virtual vtkProperty2DGetProperty ()
void AddCameraToPath ()
void AnimatePath (vtkRenderWindowInteractor *rwi)
void InitializePath ()
virtual void BuildRepresentation ()
virtual void GetSize (double size[2])
virtual void GetActors2D (vtkPropCollection *)
virtual void ReleaseGraphicsResources (vtkWindow *)
virtual int RenderOverlay (vtkViewport *)
virtual int RenderOpaqueGeometry (vtkViewport *)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
virtual int HasTranslucentPolygonalGeometry ()

Static Public Member Functions

static vtkCameraRepresentationNew ()

Protected Member Functions

 vtkCameraRepresentation ()
 ~vtkCameraRepresentation ()

Protected Attributes

vtkCameraCamera
vtkCameraInterpolatorInterpolator
int NumberOfFrames
double CurrentTime
vtkPointsPoints
vtkPolyDataPolyData
vtkTransformPolyDataFilterTransformFilter
vtkPolyDataMapper2DMapper
vtkProperty2DProperty
vtkActor2DActor
typedef vtkBorderRepresentation Superclass
static int IsTypeOf (const char *type)
static vtkCameraRepresentationSafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkCameraRepresentationNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

Detailed Description

represent the vtkCameraWidget

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.

See also:
vtkCameraWidget vtkCameraInterpolator
Examples:
vtkCameraRepresentation (Examples)
Tests:
vtkCameraRepresentation (Tests)

Definition at line 52 of file vtkCameraRepresentation.h.


Member Typedef Documentation

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

Definition at line 60 of file vtkCameraRepresentation.h.


Constructor & Destructor Documentation


Member Function Documentation

Instantiate this class.

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.

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

virtual vtkObjectBase* vtkCameraRepresentation::NewInstanceInternal ( ) const [protected, virtual]

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

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

Standard VTK class methods.

Reimplemented from vtkBorderRepresentation.

Specify the camera to interpolate. This must be specified by the user.

Specify the camera to interpolate. This must be specified by the user.

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.

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.

Set the number of frames to generate when playback is initiated.

By obtaining this property you can specify the properties of the representation.

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.

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.

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.

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 106 of file vtkCameraRepresentation.h.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.

These methods are necessary to make this representation behave as a vtkProp.

Reimplemented from vtkBorderRepresentation.


Member Data Documentation

Definition at line 126 of file vtkCameraRepresentation.h.

Definition at line 127 of file vtkCameraRepresentation.h.

Definition at line 128 of file vtkCameraRepresentation.h.

Definition at line 129 of file vtkCameraRepresentation.h.

Definition at line 132 of file vtkCameraRepresentation.h.

Definition at line 133 of file vtkCameraRepresentation.h.

Definition at line 134 of file vtkCameraRepresentation.h.

Definition at line 135 of file vtkCameraRepresentation.h.

Definition at line 136 of file vtkCameraRepresentation.h.

Definition at line 137 of file vtkCameraRepresentation.h.


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