16 #ifndef vtkSMVRFirstPersonCameraStyleProxy_h 17 #define vtkSMVRFirstPersonCameraStyleProxy_h 19 #include "vtkPVIncubatorCAVEInteractionStylesModule.h" 45 vtkSetMacro(MouseSensitivityX,
double);
46 vtkGetMacro(MouseSensitivityX,
double);
47 vtkSetMacro(MouseSensitivityY,
double);
48 vtkGetMacro(MouseSensitivityY,
double);
55 vtkSetMacro(MoveSpeedForward,
double);
56 vtkGetMacro(MoveSpeedForward,
double);
57 vtkSetMacro(MoveSpeedRight,
double);
58 vtkGetMacro(MoveSpeedRight,
double);
65 vtkSetMacro(InvertXAxis,
bool);
66 vtkGetMacro(InvertXAxis,
bool);
67 vtkSetMacro(InvertYAxis,
bool);
68 vtkGetMacro(InvertYAxis,
bool);
86 vtkSetMacro(UpAxis,
Axis);
87 vtkGetMacro(UpAxis,
Axis);
112 double MousePosX = 0;
113 bool InvertXAxis =
false;
114 double MousePosY = 0;
115 bool InvertYAxis =
false;
119 Axis UpAxis = Y_AXIS;
121 double MouseSensitivityX = 6.28;
122 double MouseSensitivityY = 3.14;
123 double MoveSpeedRight = 0.5;
124 double MoveSpeedForward = 1;
127 #endif // vtkSMVRFirstPersonCameraStyleProxy_h
the base class for all interactor styles
interactor style with mouse and keyboard like a first person flight
virtual void HandleButton(const vtkVREvent &event)
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()
int GetControlledPropertySize() override
Override this function to automatically set the controlled property.
Axis
Enum axis to retrieve the forward, the right and the up axis of the scene.
virtual bool Update()
Update() called to update all the remote vtkObjects and perhaps even to render.