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