VTK
vtkInteractorStyleSwitch.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInteractorStyleSwitch.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
34 #ifndef vtkInteractorStyleSwitch_h
35 #define vtkInteractorStyleSwitch_h
36 
37 #include "vtkInteractionStyleModule.h" // For export macro
39 
40 #define VTKIS_JOYSTICK 0
41 #define VTKIS_TRACKBALL 1
42 
43 #define VTKIS_CAMERA 0
44 #define VTKIS_ACTOR 1
45 
51 
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent);
59 
62 
66 
68 
76 
79  virtual void OnChar();
80 
82 
87 
88 protected:
91 
93 
100 
104 
105 private:
106  vtkInteractorStyleSwitch(const vtkInteractorStyleSwitch&); // Not implemented.
107  void operator=(const vtkInteractorStyleSwitch&); // Not implemented.
108 };
109 
110 #endif
vtkInteractorStyleSwitch::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkInteractorStyleSwitch::SetCurrentStyleToJoystickActor
void SetCurrentStyleToJoystickActor()
vtkInteractorStyleSwitch::CameraOrActor
int CameraOrActor
Definition: vtkInteractorStyleSwitch.h:102
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkInteractorStyleSwitch::OnChar
virtual void OnChar()
vtkInteractorStyleSwitch::JoystickOrTrackball
int JoystickOrTrackball
Definition: vtkInteractorStyleSwitch.h:101
vtkInteractorStyleSwitch::JoystickActor
vtkInteractorStyleJoystickActor * JoystickActor
Definition: vtkInteractorStyleSwitch.h:94
vtkInteractorStyleSwitch::~vtkInteractorStyleSwitch
~vtkInteractorStyleSwitch()
vtkInteractorStyleSwitch::MultiTouchCamera
vtkInteractorStyleMultiTouchCamera * MultiTouchCamera
Definition: vtkInteractorStyleSwitch.h:98
vtkInteractorStyleSwitch::SetInteractor
void SetInteractor(vtkRenderWindowInteractor *iren)
vtkInteractorStyleSwitch::SetDefaultRenderer
virtual void SetDefaultRenderer(vtkRenderer *)
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkInteractorStyleSwitchBase.h
vtkInteractorStyleMultiTouchCamera
interactive manipulation of the camera
Definition: vtkInteractorStyleMultiTouchCamera.h:41
VTKINTERACTIONSTYLE_EXPORT
#define VTKINTERACTIONSTYLE_EXPORT
Definition: vtkInteractionStyleModule.h:15
vtkInteractorStyleSwitch::SetAutoAdjustCameraClippingRange
void SetAutoAdjustCameraClippingRange(int value)
vtkInteractorStyleSwitch::vtkInteractorStyleSwitch
vtkInteractorStyleSwitch()
vtkInteractorStyleSwitch::TrackballCamera
vtkInteractorStyleTrackballCamera * TrackballCamera
Definition: vtkInteractorStyleSwitch.h:97
vtkInteractorStyleSwitch::New
static vtkInteractorStyleSwitch * New()
vtkgl::value
GLsizei const GLfloat * value
Definition: vtkgl.h:12021
vtkInteractionStyleModule.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInteractorStyleSwitch::SetCurrentStyleToMultiTouchCamera
void SetCurrentStyleToMultiTouchCamera()
vtkInteractorStyleSwitch::JoystickCamera
vtkInteractorStyleJoystickCamera * JoystickCamera
Definition: vtkInteractorStyleSwitch.h:95
vtkInteractorStyleSwitch::SetCurrentStyleToTrackballCamera
void SetCurrentStyleToTrackballCamera()
vtkInteractorStyleSwitch::SetCurrentStyleToTrackballActor
void SetCurrentStyleToTrackballActor()
vtkInteractorStyleSwitchBase
dummy interface class.
Definition: vtkInteractorStyleSwitchBase.h:35
vtkRenderWindowInteractor
platform-independent render window interaction including picking and frame rate control.
Definition: vtkRenderWindowInteractor.h:80
vtkInteractorStyle
provide event-driven interface to the rendering window (defines trackball mode)
Definition: vtkInteractorStyle.h:136
vtkInteractorStyleSwitch::SetCurrentRenderer
virtual void SetCurrentRenderer(vtkRenderer *)
vtkInteractorStyleSwitch::SetCurrentStyleToJoystickCamera
void SetCurrentStyleToJoystickCamera()
vtkInteractorStyleJoystickCamera
interactive manipulation of the camera
Definition: vtkInteractorStyleJoystickCamera.h:45
vtkInteractorStyleTrackballCamera
interactive manipulation of the camera
Definition: vtkInteractorStyleTrackballCamera.h:50
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkInteractorStyleSwitch::CurrentStyle
vtkInteractorStyle * CurrentStyle
Definition: vtkInteractorStyleSwitch.h:99
vtkInteractorStyleSwitch
class to swap between interactory styles
Definition: vtkInteractorStyleSwitch.h:54
vtkInteractorStyleJoystickActor
manipulate objects in the scene independently of one another
Definition: vtkInteractorStyleJoystickActor.h:47
vtkInteractorStyleSwitch::MultiTouch
bool MultiTouch
Definition: vtkInteractorStyleSwitch.h:103
vtkInteractorStyleTrackballActor
manipulate objects in the scene independent of each other
Definition: vtkInteractorStyleTrackballActor.h:48
vtkInteractorStyleSwitch::TrackballActor
vtkInteractorStyleTrackballActor * TrackballActor
Definition: vtkInteractorStyleSwitch.h:96
vtkInteractorStyleSwitch::SetCurrentStyle
void SetCurrentStyle()