34 #ifndef __vtkInteractorStyleSwitch_h
35 #define __vtkInteractorStyleSwitch_h
37 #include "vtkInteractionStyleModule.h"
38 #include "vtkInteractorStyleSwitchBase.h"
40 #define VTKIS_JOYSTICK 0
41 #define VTKIS_TRACKBALL 1
43 #define VTKIS_CAMERA 0
52 :
public vtkInteractorStyleSwitchBase
57 void PrintSelf(ostream& os, vtkIndent indent);
60 void SetInteractor(vtkRenderWindowInteractor *iren);
64 void SetAutoAdjustCameraClippingRange(
int value );
68 vtkGetObjectMacro(CurrentStyle, vtkInteractorStyle);
69 void SetCurrentStyleToJoystickActor();
70 void SetCurrentStyleToJoystickCamera();
71 void SetCurrentStyleToTrackballActor();
72 void SetCurrentStyleToTrackballCamera();
77 virtual void OnChar();
82 virtual void SetDefaultRenderer(vtkRenderer*);
83 virtual void SetCurrentRenderer(vtkRenderer*);
90 void SetCurrentStyle();
interactive manipulation of the camera
vtkInteractorStyleTrackballCamera * TrackballCamera
vtkInteractorStyleJoystickCamera * JoystickCamera
manipulate objects in the scene independently of one another
vtkInteractorStyleTrackballActor * TrackballActor
manipulate objects in the scene independent of each other
vtkInteractorStyle * CurrentStyle
vtkInteractorStyleJoystickActor * JoystickActor
interactive manipulation of the camera
class to swap between interactory styles