23 #ifndef vtkInteractorStyleSwitch_h
24 #define vtkInteractorStyleSwitch_h
26 #include "vtkInteractionStyleModule.h"
30 #define VTKIS_JOYSTICK 0
31 #define VTKIS_TRACKBALL 1
33 #define VTKIS_CAMERA 0
36 VTK_ABI_NAMESPACE_BEGIN
67 void SetCurrentStyleToJoystickActor();
68 void SetCurrentStyleToJoystickCamera();
69 void SetCurrentStyleToTrackballActor();
70 void SetCurrentStyleToTrackballCamera();
71 void SetCurrentStyleToMultiTouchCamera();
93 void SetCurrentStyle();
111 VTK_ABI_NAMESPACE_END
interactive manipulation of the camera
void OnChar() override
OnChar is triggered when an ASCII key is pressed.
void SetInteractor(vtkRenderWindowInteractor *interactor) override
Set/Get the Interactor wrapper being controlled by this object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
vtkInteractorStyleMultiTouchCamera * MultiTouchCamera
multitouch manipulation of the camera
vtkInteractorStyleTrackballCamera * TrackballCamera
platform-independent render window interaction including picking and frame rate control.
#define VTK_MARSHALMANUAL
vtkInteractorStyleJoystickCamera * JoystickCamera
static vtkInteractorStyleSwitchBase * New()
virtual void SetDefaultRenderer(vtkRenderer *)
Set/Get the default renderer to use when activating the interactor observer.
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 *)
Set/Get the current renderer.
virtual void SetAutoAdjustCameraClippingRange(vtkTypeBool)
If AutoAdjustCameraClippingRange is on, then before each render the camera clipping range will be adj...
vtkInteractorStyleJoystickActor * JoystickActor
provide event-driven interface to the rendering window (defines trackball mode)
interactive manipulation of the camera
class to swap between interactory styles