#include <vtkCameraWidget.h>
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.
Definition at line 45 of file vtkCameraWidget.h.
typedef vtkBorderWidget | Superclass |
static int | IsTypeOf (const char *type) |
static vtkCameraWidget * | SafeDownCast (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 vtkCameraWidget * | New () |
Protected Member Functions | |
vtkCameraWidget () | |
~vtkCameraWidget () | |
virtual void | SelectRegion (double eventPos[2]) |
Standar VTK class methods.
Reimplemented from vtkBorderWidget.
Definition at line 53 of file vtkCameraWidget.h.
vtkCameraWidget::vtkCameraWidget | ( | ) | [protected] |
vtkCameraWidget::~vtkCameraWidget | ( | ) | [protected] |
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.