#include <vtkInteractorStyleTrackballCamera.h>
Inheritance diagram for vtkInteractorStyleTrackballCamera:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | OnMouseMove (int ctrl, int shift, int x, int y) |
void | OnLeftButtonDown (int ctrl, int shift, int x, int y) |
void | OnLeftButtonUp (int ctrl, int shift, int x, int y) |
void | OnMiddleButtonDown (int ctrl, int shift, int x, int y) |
void | OnMiddleButtonUp (int ctrl, int shift, int x, int y) |
void | OnRightButtonDown (int ctrl, int shift, int x, int y) |
void | OnRightButtonUp (int ctrl, int shift, int x, int y) |
Static Public Methods | |
vtkInteractorStyleTrackballCamera * | New () |
int | IsTypeOf (const char *type) |
vtkInteractorStyleTrackballCamera * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkInteractorStyleTrackballCamera () | |
~vtkInteractorStyleTrackballCamera () | |
void | RotateXY (int dx, int dy) |
void | PanXY (int x, int y, int oldX, int oldY) |
void | DollyXY (int dx, int dy) |
void | SpinXY (int dx, int dy, int oldX, int oldY) |
Protected Attributes | |
int | State |
float | MotionFactor |
float | RadianToDegree |
vtkInteractorStyleTrackballCamera allows the user to interactively manipulate (rotate, pan, etc.) the camera, the viewpoint of the scene. The position of the mouse relative to the center of the scene determines the speed at which the camera moves. When the mouse stops moving, so does the camera. For a 3-button mouse, the left button is for rotation, the right button for zooming, the middle button for panning, and ctrl + left button for spinning. (With fewer mouse buttons, ctrl + shift + left button is for zooming, and shift + left button is for panning.)
Definition at line 76 of file vtkInteractorStyleTrackballCamera.h.
|
|
|
|
|
This class must be supplied with a vtkRenderWindowInteractor wrapper or parent. This class should not normally be instantiated by application programmers. Reimplemented from vtkInteractorStyle. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkInteractorStyle. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkInteractorStyle. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkInteractorStyle. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkInteractorStyle. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkInteractorStyle. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. Reimplemented from vtkInteractorStyle. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. Reimplemented from vtkInteractorStyle. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. Reimplemented from vtkInteractorStyle. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. Reimplemented from vtkInteractorStyle. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. Reimplemented from vtkInteractorStyle. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. Reimplemented from vtkInteractorStyle. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. Reimplemented from vtkInteractorStyle. |
|
|
|
|
|
|
|
|
|
Reimplemented from vtkInteractorStyle. Definition at line 104 of file vtkInteractorStyleTrackballCamera.h. |
|
Definition at line 105 of file vtkInteractorStyleTrackballCamera.h. |
|
Definition at line 106 of file vtkInteractorStyleTrackballCamera.h. |