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
vtkSMVRInteractorStyleProxy
Definition: vtkSMVRInteractorStyleProxy.h:22
vtkSMVRControlSliceOrientationStyleProxy
Definition: vtkSMVRControlSliceOrientationStyleProxy.h:13
vtkSMVRControlSliceOrientationStyleProxy::InitialOrientationRecorded
bool InitialOrientationRecorded
Definition: vtkSMVRControlSliceOrientationStyleProxy.h:37
vtkSMVRControlSliceOrientationStyleProxy::GetControlledPropertySize
int GetControlledPropertySize() override
Definition: vtkSMVRControlSliceOrientationStyleProxy.h:21
Normal
Normal
vtkSMVRInteractorStyleProxy::Update
virtual bool Update()
Update() called to update all the remote vtkObjects and perhaps even to render.
vtkIndent
vtkMatrix4x4
vtkNew< vtkMatrix4x4 >
vtkSMVRControlSliceOrientationStyleProxy::InitialInvertedPose
vtkNew< vtkMatrix4x4 > InitialInvertedPose
Definition: vtkSMVRControlSliceOrientationStyleProxy.h:44
vtkVREvent
Definition: vtkVRQueue.h:44
vtkNew.h
vtkSMVRInteractorStyleProxy::HandleTracker
virtual void HandleTracker(const vtkVREvent &event)
vtkSMVRInteractorStyleProxy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMVRInteractorStyleProxy::HandleButton
virtual void HandleButton(const vtkVREvent &event)
vtkSMVRInteractorStyleProxy::New
static vtkSMVRInteractorStyleProxy * New()
vtkSMVRInteractorStyleProxy.h
vtkSMVRControlSliceOrientationStyleProxy::Enabled
bool Enabled
Definition: vtkSMVRControlSliceOrientationStyleProxy.h:36