VTK
Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkCameraWidget Class Reference

2D widget for saving a series of camera views More...

#include <vtkCameraWidget.h>

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

List of all members.

Public Member Functions

void CreateDefaultRepresentation ()
void SetRepresentation (vtkCameraRepresentation *r)

Static Public Member Functions

static vtkCameraWidgetNew ()

Protected Member Functions

 vtkCameraWidget ()
 ~vtkCameraWidget ()
virtual void SelectRegion (double eventPos[2])
typedef vtkBorderWidget Superclass
static int IsTypeOf (const char *type)
static vtkCameraWidgetSafeDownCast (vtkObjectBase *o)
virtual int IsA (const char *type)
vtkCameraWidgetNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkObjectBaseNewInstanceInternal () const

Detailed Description

2D widget for saving a series of camera views

This class provides support for interactively saving a series of camera views into an interpolated path (using vtkCameraInterpolator). To use the class start by specifying a camera to interpolate, and then simply start recording by hitting the "record" button, manipulate the camera (by using an interactor, direct scripting, or any other means), and then save the camera view. Repeat this process to record a series of views. The user can then play back interpolated camera views using the vtkCameraInterpolator.

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

Definition at line 46 of file vtkCameraWidget.h.


Member Typedef Documentation

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

Definition at line 54 of file vtkCameraWidget.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Instantiate this class.

Reimplemented from vtkBorderWidget.

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

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

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

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

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

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

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

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene. Note that the representation is a subclass of vtkProp so it can be added to the renderer independent of the widget.

Definition at line 62 of file vtkCameraWidget.h.

Create the default widget representation if one is not set.

Reimplemented from vtkBorderWidget.

virtual void vtkCameraWidget::SelectRegion ( double  eventPos[2]) [protected, virtual]

When selecting the interior of this widget, special operations occur (i.e., adding a camera view, deleting a path, animating a path). Thus this methods overrides the superclasses' method.

Reimplemented from vtkBorderWidget.


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