34 #ifndef __vtkInteractorStyleSwitch_h
35 #define __vtkInteractorStyleSwitch_h
39 #define VTKIS_JOYSTICK 0
40 #define VTKIS_TRACKBALL 1
42 #define VTKIS_CAMERA 0
67 void SetCurrentStyleToJoystickActor();
68 void SetCurrentStyleToJoystickCamera();
69 void SetCurrentStyleToTrackballActor();
70 void SetCurrentStyleToTrackballCamera();
88 void SetCurrentStyle();
virtual void SetInteractor(vtkRenderWindowInteractor *interactor)
interactive manipulation of the camera
virtual void SetAutoAdjustCameraClippingRange(int)
static vtkInteractorStyle * New()
abstract specification for renderers
vtkInteractorStyleTrackballCamera * TrackballCamera
platform-independent render window interaction including picking and frame rate control.
void PrintSelf(ostream &os, vtkIndent indent)
vtkInteractorStyleJoystickCamera * JoystickCamera
virtual void SetDefaultRenderer(vtkRenderer *)
a simple class to control print indentation
manipulate objects in the scene independently of one another
vtkInteractorStyleTrackballActor * TrackballActor
manipulate objects in the scene independent of each other
vtkInteractorStyle * CurrentStyle
virtual void SetCurrentRenderer(vtkRenderer *)
vtkInteractorStyleJoystickActor * JoystickActor
provide event-driven interface to the rendering window (defines trackball mode)
interactive manipulation of the camera
class to swap between interactory styles