#include <vtkInteractorStyleTrackball.h>
Inheritance diagram for vtkInteractorStyleTrackball:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | OnTimer (void) |
virtual void | OnRightButtonDown (int ctrl, int shift, int X, int Y) |
virtual void | OnRightButtonUp (int ctrl, int shift, int X, int Y) |
virtual void | OnMiddleButtonDown (int ctrl, int shift, int X, int Y) |
virtual void | OnMiddleButtonUp (int ctrl, int shift, int X, int Y) |
virtual void | OnLeftButtonDown (int ctrl, int shift, int X, int Y) |
virtual void | OnLeftButtonUp (int ctrl, int shift, int X, int Y) |
virtual void | OnChar (int ctrl, int shift, char keycode, int repeatcount) |
virtual void | SetActorModeToCamera () |
virtual void | SetActorModeToActor () |
virtual int | GetActorMode () |
virtual void | SetTrackballModeToTrackball () |
virtual void | SetTrackballModeToJoystick () |
virtual int | GetTrackballMode () |
Static Public Methods | |
vtkInteractorStyleTrackball * | New () |
int | IsTypeOf (const char *type) |
vtkInteractorStyleTrackball * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkInteractorStyleTrackball () | |
~vtkInteractorStyleTrackball () | |
virtual void | TrackballRotateCamera (int x, int y) |
virtual void | TrackballSpinCamera (int x, int y) |
virtual void | TrackballPanCamera (int x, int y) |
virtual void | TrackballDollyCamera (int x, int y) |
virtual void | JoystickRotateActor (int x, int y) |
virtual void | JoystickSpinActor (int x, int y) |
virtual void | JoystickPanActor (int x, int y) |
virtual void | JoystickDollyActor (int x, int y) |
virtual void | JoystickScaleActor (int x, int y) |
virtual void | TrackballRotateActor (int x, int y) |
virtual void | TrackballSpinActor (int x, int y) |
virtual void | TrackballPanActor (int x, int y) |
virtual void | TrackballDollyActor (int x, int y) |
virtual void | TrackballScaleActor (int x, int y) |
void | Prop3DTransform (vtkProp3D *prop3D, double *boxCenter, int numRotation, double **rotate, double *scale) |
void | Prop3DTransform (vtkProp3D *prop3D, float *boxCenter, int NumRotation, double **rotate, double *scale) |
void | FindPickedActor (int X, int Y) |
Protected Attributes | |
vtkAbstractPropPicker * | InteractionPicker |
int | PropPicked |
vtkProp3D * | InteractionProp |
int | ActorMode |
int | TrackballMode |
int | ControlMode |
float | MotionFactor |
int | Preprocess |
float | RadianToDegree |
float | NewPickPoint [4] |
float | OldPickPoint [4] |
float | MotionVector [3] |
float | OldX |
float | OldY |
double | ViewLook [3] |
double | ViewPoint [3] |
double | ViewFocus [3] |
double | ViewUp [3] |
double | ViewRight [3] |
float | Origin [3] |
float | Position [3] |
float | ObjCenter [3] |
float | DispObjCenter [3] |
float | Radius |
vtkInteractorStyleTrackball is an implementation of vtkInteractorStyle that defines the trackball style. The trackball style can be thought of as a "grab and move" approach. That is, on mouse down a point on the object is grabbed, and then moving the mouse cause motion in proportion to the amount of motion. Note that the events that are bound by this class are the same as vtkInteractorStyle (which implements joystick mode), just the behavior is modified consistent with the trackball style of interaction.
Definition at line 79 of file vtkInteractorStyleTrackball.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. |
|
Concrete implementation of event bindings Reimplemented from vtkInteractorStyle. |
|
Concrete implementation of event bindings Reimplemented from vtkInteractorStyle. |
|
Concrete implementation of event bindings Reimplemented from vtkInteractorStyle. |
|
Concrete implementation of event bindings Reimplemented from vtkInteractorStyle. |
|
Concrete implementation of event bindings Reimplemented from vtkInteractorStyle. |
|
Concrete implementation of event bindings Reimplemented from vtkInteractorStyle. |
|
Concrete implementation of event bindings Reimplemented from vtkInteractorStyle. |
|
External switching between actor and camera mode. |
|
External switching between actor and camera mode. |
|
External switching between actor and camera mode. |
|
External switching between joystick and trackball mode. |
|
External switching between joystick and trackball mode. |
|
External switching between joystick and trackball mode. |
|
OnTimer calls RotateCamera, RotateActor etc which should be overridden by style subclasses. Reimplemented from vtkInteractorStyle. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 122 of file vtkInteractorStyleTrackball.h. |
|
Reimplemented from vtkInteractorStyle. Definition at line 123 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 124 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 127 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 128 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 129 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 130 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 131 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 132 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 135 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 136 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 137 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 138 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 139 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 142 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 143 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 144 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 145 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 146 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 149 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 150 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 151 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 152 of file vtkInteractorStyleTrackball.h. |
|
Definition at line 153 of file vtkInteractorStyleTrackball.h. |