vtkCameraWidget Class Reference

#include <vtkCameraWidget.h>

Inheritance diagram for vtkCameraWidget:

Inheritance graph
[legend]
Collaboration diagram for vtkCameraWidget:

Collaboration graph
[legend]

List of all members.


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 45 of file vtkCameraWidget.h.

typedef vtkBorderWidget Superclass
static int IsTypeOf (const char *type)
static vtkCameraWidgetSafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

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])

Member Typedef Documentation

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

Definition at line 53 of file vtkCameraWidget.h.


Constructor & Destructor Documentation

vtkCameraWidget::vtkCameraWidget (  )  [protected]

vtkCameraWidget::~vtkCameraWidget (  )  [protected]


Member Function Documentation

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

Instantiate this class.

Reimplemented from vtkBorderWidget.

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

Standar VTK class methods.

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.

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

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

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

Standar VTK class methods.

Reimplemented from vtkBorderWidget.

void vtkCameraWidget::SetRepresentation ( vtkCameraRepresentation r  )  [inline]

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 61 of file vtkCameraWidget.h.

void vtkCameraWidget::CreateDefaultRepresentation (  )  [virtual]

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:

Generated on Sat Dec 27 13:18:56 2008 for VTK by  doxygen 1.5.6