Section: Visualization Toolkit Rendering Classes
The mouse bindings are as follows. 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.)
To create an instance of class vtkInteractorStyleTrackballActor, simply invoke its constructor as follows
obj = vtkInteractorStyleTrackballActor
obj
is an instance of the vtkInteractorStyleTrackballActor class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkInteractorStyleTrackballActor = obj.NewInstance ()
vtkInteractorStyleTrackballActor = obj.SafeDownCast (vtkObject o)
obj.OnMouseMove ()
- Event bindings controlling the effects of pressing mouse buttons
or moving the mouse.
obj.OnLeftButtonDown ()
- Event bindings controlling the effects of pressing mouse buttons
or moving the mouse.
obj.OnLeftButtonUp ()
- Event bindings controlling the effects of pressing mouse buttons
or moving the mouse.
obj.OnMiddleButtonDown ()
- Event bindings controlling the effects of pressing mouse buttons
or moving the mouse.
obj.OnMiddleButtonUp ()
- Event bindings controlling the effects of pressing mouse buttons
or moving the mouse.
obj.OnRightButtonDown ()
- Event bindings controlling the effects of pressing mouse buttons
or moving the mouse.
obj.OnRightButtonUp ()
- Event bindings controlling the effects of pressing mouse buttons
or moving the mouse.
obj.Rotate ()
obj.Spin ()
obj.Pan ()
obj.Dolly ()
obj.UniformScale ()