#include <vtkInteractorStyleSwitch.h>
Inheritance diagram for vtkInteractorStyleSwitch:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | SetInteractor (vtkRenderWindowInteractor *iren) |
void | OnTimer () |
void | SetAutoAdjustCameraClippingRange (int value) |
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) |
void | OnMouseMove (int ctrl, int shift, int x, int y) |
void | OnChar (int ctrl, int shift, char keycode, int repeatcount) |
Static Public Methods | |
vtkInteractorStyleSwitch * | New () |
int | IsTypeOf (const char *type) |
vtkInteractorStyleSwitch * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkInteractorStyleSwitch () | |
~vtkInteractorStyleSwitch () | |
Protected Attributes | |
vtkInteractorStyleJoystickActor * | JoystickActor |
vtkInteractorStyleJoystickCamera * | JoystickCamera |
vtkInteractorStyleTrackballActor * | TrackballActor |
vtkInteractorStyleTrackballCamera * | TrackballCamera |
int | JoystickOrTrackball |
int | CameraOrActor |
The class vtkInteractorStyleSwitch allows handles interactively switching between four interactor styles -- joystick actor, joystick camera, trackball actor, and trackball camera. Type 'j' or 't' to select joystick or trackball, and type 'c' or 'a' to select camera or actor. The default interactor style is joystick camera.
Definition at line 76 of file vtkInteractorStyleSwitch.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. Reimplemented in vtkInteractorStyleUser. |
|
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. Reimplemented in vtkInteractorStyleUser. |
|
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. Reimplemented in vtkInteractorStyleUser. |
|
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. Reimplemented in vtkInteractorStyleUser. |
|
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. Reimplemented in vtkInteractorStyleUser. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. The correct subclass method is called depending on the current mode (trackball or joystick, camera or actor). Reimplemented from vtkInteractorStyle. Reimplemented in vtkInteractorStyleUser. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. The correct subclass method is called depending on the current mode (trackball or joystick, camera or actor). Reimplemented from vtkInteractorStyle. Reimplemented in vtkInteractorStyleUser. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. The correct subclass method is called depending on the current mode (trackball or joystick, camera or actor). Reimplemented from vtkInteractorStyle. Reimplemented in vtkInteractorStyleUser. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. The correct subclass method is called depending on the current mode (trackball or joystick, camera or actor). Reimplemented from vtkInteractorStyle. Reimplemented in vtkInteractorStyleUser. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. The correct subclass method is called depending on the current mode (trackball or joystick, camera or actor). Reimplemented from vtkInteractorStyle. Reimplemented in vtkInteractorStyleUser. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. The correct subclass method is called depending on the current mode (trackball or joystick, camera or actor). Reimplemented from vtkInteractorStyle. Reimplemented in vtkInteractorStyleUser. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. The correct subclass method is called depending on the current mode (trackball or joystick, camera or actor). Reimplemented from vtkInteractorStyle. Reimplemented in vtkInteractorStyleUser. |
|
Event bindings controlling the effects of pressing mouse buttons or moving the mouse. The correct subclass method is called depending on the current mode (trackball or joystick, camera or actor). Reimplemented from vtkInteractorStyle. Reimplemented in vtkInteractorStyleUser. |
|
The sub styles need the interactor too. Reimplemented from vtkInteractorStyle. |
|
OnTimer calls RotateCamera, RotateActor etc which should be overridden by style subclasses. Reimplemented from vtkInteractorStyle. Reimplemented in vtkInteractorStyleUser. |
|
We must override this method in order to pass the setting down to the underlying styles Reimplemented from vtkInteractorStyle. |
|
Definition at line 109 of file vtkInteractorStyleSwitch.h. |
|
Definition at line 110 of file vtkInteractorStyleSwitch.h. |
|
Definition at line 111 of file vtkInteractorStyleSwitch.h. |
|
Definition at line 112 of file vtkInteractorStyleSwitch.h. |
|
Definition at line 114 of file vtkInteractorStyleSwitch.h. |
|
Definition at line 115 of file vtkInteractorStyleSwitch.h. |