14 #ifndef vtkSMVRJoystickCameraStyleProxy_h 15 #define vtkSMVRJoystickCameraStyleProxy_h 17 #include "vtkPVIncubatorCAVEInteractionStylesModule.h" 43 vtkSetMacro(LookRotationSensitivity,
double);
44 vtkGetMacro(LookRotationSensitivity,
double);
51 vtkSetMacro(MoveJoystickSensitivity,
double);
52 vtkGetMacro(MoveJoystickSensitivity,
double);
59 vtkSetMacro(MoveCameraSensitivity,
double);
60 vtkGetMacro(MoveCameraSensitivity,
double);
67 vtkSetMacro(InvertXAxis,
bool);
68 vtkGetMacro(InvertXAxis,
bool);
69 vtkSetMacro(InvertYAxis,
bool);
70 vtkGetMacro(InvertYAxis,
bool);
77 vtkSetMacro(InvertFwdMovement,
bool);
78 vtkGetMacro(InvertFwdMovement,
bool);
79 vtkSetMacro(InvertRightMovement,
bool);
80 vtkGetMacro(InvertRightMovement,
bool);
88 vtkSetMacro(FastMovementMultiplier,
double);
89 vtkGetMacro(FastMovementMultiplier,
double);
107 vtkSetMacro(UpAxis,
Axis);
108 vtkGetMacro(UpAxis,
Axis);
137 double GetMovementValue(
double valuatorValue,
bool invert);
139 double OrientationX = 0;
140 bool InvertXAxis =
false;
141 double OrientationY = 0;
142 bool InvertYAxis =
false;
144 double MoveForward = 0;
145 bool InvertFwdMovement =
false;
146 double MoveRight = 0;
147 bool InvertRightMovement =
false;
149 double FastMovementMultiplier = 4.0;
150 bool FastMovement =
false;
152 Axis UpAxis = Y_AXIS;
154 double LookRotationSensitivity = 0.01;
155 double MoveCameraSensitivity = 0.1;
157 double MoveJoystickSensitivity = 2.0;
160 #endif // vtkSMVRJoystickCameraStyleProxy_h interactor style with a controller with joysticks
the base class for all interactor styles
virtual void HandleButton(const vtkVREvent &event)
Axis
Enum axis to retrieve the forward, the right and the up axis of the scene.
property representing a vector of integers
virtual void UpdateVTKObjects()
Update the VTK object on the server by pushing the values of all modified properties (un-modified pro...
implementation for View that includes render window and renderers.
property representing a vector of doubles
virtual void HandleValuator(const vtkVREvent &event)
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSMVRInteractorStyleProxy * New()
virtual bool Update()
Update() called to update all the remote vtkObjects and perhaps even to render.
int GetControlledPropertySize() override
Override this function to automatically set the controlled property.