vtkSMVRControlSliceOrientationStyleProxy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
4 #ifndef vtkSMVRControlSliceOrientationStyleProxy_h
5 #define vtkSMVRControlSliceOrientationStyleProxy_h
6 
7 #include "vtkNew.h"
8 #include "vtkPVIncubatorCAVEInteractionStylesModule.h" // for export macro
10 
11 class vtkMatrix4x4;
12 
13 class VTKPVINCUBATORCAVEINTERACTIONSTYLES_EXPORT vtkSMVRControlSliceOrientationStyleProxy
15 {
16 public:
19  void PrintSelf(ostream& os, vtkIndent indent) override;
20 
21  int GetControlledPropertySize() override { return 3; }
22 
27  bool Update() override;
28 
29 protected:
32 
33  void HandleButton(const vtkVREvent& event) override;
34  void HandleTracker(const vtkVREvent& event) override;
35 
36  bool Enabled;
38 
39  double InitialQuat[4];
40  double InitialTrackerQuat[4];
41  double UpdatedQuat[4];
42  double Normal[4];
43 
45 
46 private:
48  const vtkSMVRControlSliceOrientationStyleProxy&) = delete; // Not implemented
49  void operator=(const vtkSMVRControlSliceOrientationStyleProxy&) = delete; // Not implemented
50 };
51 
52 #endif // vtkSMVRControlSliceOrientationStyleProxy_h
virtual void HandleButton(const vtkVREvent &event)
Normal
virtual void HandleTracker(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.