Abstraction of style away from button. More...
#include <vtkCameraManipulator.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual void | OnMouseMove (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren) |
virtual void | OnButtonDown (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren) |
virtual void | OnButtonUp (int x, int y, vtkRenderer *ren, vtkRenderWindowInteractor *iren) |
virtual void | StartInteraction () |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More... | |
virtual void | EndInteraction () |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. More... | |
virtual void | OnKeyUp (vtkRenderWindowInteractor *iren) |
These methods are called on all registered manipulators, not just the active one. More... | |
virtual void | OnKeyDown (vtkRenderWindowInteractor *iren) |
These methods are called on all registered manipulators, not just the active one. More... | |
virtual void | SetButton (int) |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual int | GetButton () |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual void | SetShift (int) |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual int | GetShift () |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual void | ShiftOn () |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual void | ShiftOff () |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual void | SetControl (int) |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual int | GetControl () |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual void | ControlOn () |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual void | ControlOff () |
These settings determine which button and modifiers the manipulator responds to. More... | |
virtual void | SetCenter (double, double, double) |
For setting the center of rotation. More... | |
virtual void | SetCenter (double [3]) |
For setting the center of rotation. More... | |
virtual double * | GetCenter () |
For setting the center of rotation. More... | |
virtual void | GetCenter (double &, double &, double &) |
For setting the center of rotation. More... | |
virtual void | GetCenter (double [3]) |
For setting the center of rotation. More... | |
virtual void | SetRotationFactor (double) |
Set and get the rotation factor. More... | |
virtual double | GetRotationFactor () |
Set and get the rotation factor. More... | |
virtual void | SetManipulatorName (const char *) |
Set and get the manipulator name. More... | |
virtual char * | GetManipulatorName () |
Set and get the manipulator name. More... | |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual vtkMTimeType | GetMTime () |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
Static Public Member Functions | |
static vtkCameraManipulator * | New () |
static int | IsTypeOf (const char *type) |
static vtkCameraManipulator * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
static vtkObjectBase * | New () |
Protected Member Functions | |
void | ComputeDisplayCenter (vtkRenderer *ren) |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
virtual | ~vtkObject () |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
char * | ManipulatorName |
int | Button |
int | Shift |
int | Control |
double | Center [3] |
double | RotationFactor |
double | DisplayCenter [2] |
vtkCameraManipulatorGUIHelper * | GUIHelper |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
void | SetGUIHelper (vtkCameraManipulatorGUIHelper *) |
Get/Set the GUI helper. More... | |
virtual vtkCameraManipulatorGUIHelper * | GetGUIHelper () |
Get/Set the GUI helper. More... | |
vtkCameraManipulator () | |
Get/Set the GUI helper. More... | |
~vtkCameraManipulator () override | |
Get/Set the GUI helper. More... | |
Abstraction of style away from button.
vtkCameraManipulator is a superclass foractions inside an interactor style and associated with a single button. An example might be rubber-band bounding-box zoom. This abstraction allows a camera manipulator to be assigned to any button. This super class might become a subclass of vtkInteractorObserver in the future.
Definition at line 36 of file vtkCameraManipulator.h.
Definition at line 40 of file vtkCameraManipulator.h.
|
protected |
Get/Set the GUI helper.
|
overrideprotected |
Get/Set the GUI helper.
|
static |
|
virtual |
|
static |
|
virtual |
Reimplemented from vtkObjectBase.
Reimplemented in vtkPVTrackballMultiRotate, vtkPVTrackballZoom, vtkPVTrackballMoveActor, vtkPVTrackballPan, vtkTrackballPan, vtkPVJoystickFly, vtkPVTrackballRoll, vtkPVTrackballZoomToMouse, vtkPVJoystickFlyIn, vtkPVJoystickFlyOut, and vtkPVTrackballRotate.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
Reimplemented in vtkPVTrackballMultiRotate, vtkPVTrackballZoom, vtkPVTrackballMoveActor, vtkPVTrackballPan, vtkTrackballPan, vtkPVJoystickFly, vtkPVTrackballRoll, vtkPVTrackballZoomToMouse, vtkPVJoystickFlyIn, vtkPVJoystickFlyOut, and vtkPVTrackballRotate.
|
virtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
|
virtual |
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
These methods are called on all registered manipulators, not just the active one.
Hence, these should just be used to record state and not perform any interactions.
Reimplemented in vtkPVTrackballRotate.
|
virtual |
These methods are called on all registered manipulators, not just the active one.
Hence, these should just be used to record state and not perform any interactions.
Reimplemented in vtkPVTrackballRotate.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
|
virtual |
These settings determine which button and modifiers the manipulator responds to.
Button can be either 1 (left), 2 (middle), and 3 right.
For setting the center of rotation.
|
virtual |
For setting the center of rotation.
|
virtual |
For setting the center of rotation.
For setting the center of rotation.
|
virtual |
For setting the center of rotation.
|
virtual |
Set and get the rotation factor.
|
virtual |
Set and get the rotation factor.
|
virtual |
Set and get the manipulator name.
|
virtual |
Set and get the manipulator name.
void vtkCameraManipulator::SetGUIHelper | ( | vtkCameraManipulatorGUIHelper * | ) |
Get/Set the GUI helper.
|
virtual |
Get/Set the GUI helper.
|
protected |
|
protected |
Definition at line 118 of file vtkCameraManipulator.h.
|
protected |
Definition at line 120 of file vtkCameraManipulator.h.
|
protected |
Definition at line 121 of file vtkCameraManipulator.h.
|
protected |
Definition at line 122 of file vtkCameraManipulator.h.
|
protected |
Definition at line 124 of file vtkCameraManipulator.h.
|
protected |
Definition at line 125 of file vtkCameraManipulator.h.
|
protected |
Definition at line 126 of file vtkCameraManipulator.h.
|
protected |
Definition at line 129 of file vtkCameraManipulator.h.