VTK
|
2D widget for saving a series of camera views More...
#include <vtkCameraWidget.h>
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]) |
typedef vtkBorderWidget | Superclass |
static int | IsTypeOf (const char *type) |
static vtkCameraWidget * | SafeDownCast (vtkObjectBase *o) |
virtual int | IsA (const char *type) |
vtkCameraWidget * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkObjectBase * | NewInstanceInternal () const |
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.
Definition at line 46 of file vtkCameraWidget.h.
Standar VTK class methods.
Reimplemented from vtkBorderWidget.
Definition at line 54 of file vtkCameraWidget.h.
vtkCameraWidget::vtkCameraWidget | ( | ) | [protected] |
vtkCameraWidget::~vtkCameraWidget | ( | ) | [protected] |
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.
static vtkCameraWidget* vtkCameraWidget::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Standar VTK class methods.
Reimplemented from vtkBorderWidget.
virtual vtkObjectBase* vtkCameraWidget::NewInstanceInternal | ( | ) | const [protected, virtual] |
Standar VTK class methods.
Reimplemented from vtkBorderWidget.
vtkCameraWidget* vtkCameraWidget::NewInstance | ( | ) | const |
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 62 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.