VTK
|
2D widget for saving a series of camera views More...
#include <vtkCameraWidget.h>
Static Public Member Functions | |
static vtkCameraWidget * | New () |
![]() | |
static vtkBorderWidget * | New () |
static int | IsTypeOf (const char *type) |
static vtkBorderWidget * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkAbstractWidget * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
vtkCameraWidget () | |
~vtkCameraWidget () | |
virtual void | SelectRegion (double eventPos[2]) |
![]() | |
vtkBorderWidget () | |
~vtkBorderWidget () | |
virtual int | SubclassSelectAction () |
virtual int | SubclassTranslateAction () |
virtual int | SubclassEndSelectAction () |
virtual int | SubclassMoveAction () |
virtual void | SetCursor (int State) |
![]() | |
vtkAbstractWidget () | |
~vtkAbstractWidget () | |
void | SetWidgetRepresentation (vtkWidgetRepresentation *r) |
virtual void | SetCursor (int vtkNotUsed(state)) |
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 |
Additional Inherited Members | |
![]() | |
typedef vtkAbstractWidget | Superclass |
![]() | |
typedef vtkInteractorObserver | Superclass |
![]() | |
enum | _WidgetState { Start =0, Define, Manipulate, Selected } |
![]() | |
static void | SelectAction (vtkAbstractWidget *) |
static void | TranslateAction (vtkAbstractWidget *) |
static void | EndSelectAction (vtkAbstractWidget *) |
static void | MoveAction (vtkAbstractWidget *) |
![]() | |
static void | ProcessEventsHandler (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
![]() | |
int | Selectable |
int | Resizable |
int | WidgetState |
![]() | |
vtkWidgetRepresentation * | WidgetRep |
int | ManagesCursor |
vtkWidgetEventTranslator * | EventTranslator |
vtkWidgetCallbackMapper * | CallbackMapper |
vtkAbstractWidget * | Parent |
void * | CallData |
int | ProcessEvents |
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.
Definition at line 54 of file vtkCameraWidget.h.
|
protected |
|
protected |
|
static |
Instantiate this class.
|
static |
Standar VTK class methods.
|
virtual |
Standar VTK class methods.
Reimplemented from vtkBorderWidget.
|
static |
Standar VTK class methods.
|
protectedvirtual |
Standar VTK class methods.
Reimplemented from vtkBorderWidget.
vtkCameraWidget* vtkCameraWidget::NewInstance | ( | ) | const |
Standar VTK class methods.
void vtkCameraWidget::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Standar VTK class methods.
|
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.
|
virtual |
Create the default widget representation if one is not set.
Reimplemented from vtkBorderWidget.
|
protectedvirtual |
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.