Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkInteractorStyleSwitch, simply invoke its constructor as follows
obj = vtkInteractorStyleSwitch
obj is an instance of the vtkInteractorStyleSwitch class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkInteractorStyleSwitch = obj.NewInstance ()
vtkInteractorStyleSwitch = obj.SafeDownCast (vtkObject o)
obj.SetInteractor (vtkRenderWindowInteractor iren) - The sub styles need the interactor too.
obj.SetAutoAdjustCameraClippingRange (int value) - We must override this method in order to pass the setting down to
the underlying styles
vtkInteractorStyle = obj.GetCurrentStyle () - Set/Get current style
obj.SetCurrentStyleToJoystickActor () - Set/Get current style
obj.SetCurrentStyleToJoystickCamera () - Set/Get current style
obj.SetCurrentStyleToTrackballActor () - Set/Get current style
obj.SetCurrentStyleToTrackballCamera () - Set/Get current style
obj.OnChar () - Only care about the char event, which is used to switch between
different styles.
obj.SetDefaultRenderer (vtkRenderer ) - Overridden from vtkInteractorObserver because the interactor styles
used by this class must also be updated.
obj.SetCurrentRenderer (vtkRenderer ) - Overridden from vtkInteractorObserver because the interactor styles
used by this class must also be updated.