29 #ifndef vtkInteractorStyleSwitch_h
30 #define vtkInteractorStyleSwitch_h
32 #include "vtkInteractionStyleModule.h"
35 #define VTKIS_JOYSTICK 0
36 #define VTKIS_TRACKBALL 1
38 #define VTKIS_CAMERA 0
a simple class to control print indentation
manipulate objects in the scene independently of one another
interactive manipulation of the camera
multitouch manipulation of the camera
class to swap between interactory styles
void SetAutoAdjustCameraClippingRange(vtkTypeBool value) override
We must override this method in order to pass the setting down to the underlying styles.
vtkInteractorStyle * CurrentStyle
vtkInteractorStyleMultiTouchCamera * MultiTouchCamera
void SetCurrentStyleToJoystickActor()
vtkInteractorStyleJoystickActor * JoystickActor
vtkInteractorStyleJoystickCamera * JoystickCamera
void SetInteractor(vtkRenderWindowInteractor *iren) override
The sub styles need the interactor too.
void SetCurrentStyleToTrackballActor()
void SetCurrentStyleToJoystickCamera()
static vtkInteractorStyleSwitch * New()
void OnChar() override
Only care about the char event, which is used to switch between different styles.
void SetCurrentRenderer(vtkRenderer *) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetCurrentStyleToMultiTouchCamera()
void SetCurrentStyleToTrackballCamera()
vtkInteractorStyleTrackballActor * TrackballActor
vtkInteractorStyleSwitch()
void SetDefaultRenderer(vtkRenderer *) override
Overridden from vtkInteractorObserver because the interactor styles used by this class must also be u...
vtkInteractorStyleTrackballCamera * TrackballCamera
~vtkInteractorStyleSwitch() override
manipulate objects in the scene independent of each other
interactive manipulation of the camera
provide event-driven interface to the rendering window (defines trackball mode)
platform-independent render window interaction including picking and frame rate control.
abstract specification for renderers