vtkSMVRGrabTransformStyleProxy.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 vtkSMVRGrabTransformStyleProxy_h
5 #define vtkSMVRGrabTransformStyleProxy_h
6 
7 #include "vtkNew.h"
8 #include "vtkPVIncubatorCAVEInteractionStylesModule.h" // for export macro
10 
11 class vtkCamera;
12 class vtkMatrix4x4;
16 struct vtkVREvent;
17 
18 class VTKPVINCUBATORCAVEINTERACTIONSTYLES_EXPORT vtkSMVRGrabTransformStyleProxy
19  : public vtkSMVRTrackStyleProxy
20 {
21 public:
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
26 protected:
29 
30  void HandleButton(const vtkVREvent& event) override;
31  void HandleTracker(const vtkVREvent& event) override;
32 
33  bool EnableNavigate; /* mirrors the button assigned the "Navigate World" role */
34  bool IsInitialRecorded; /* flag indicating that we're in the middle of a navigation operation */
35 
38 
39 private:
41  void operator=(const vtkSMVRGrabTransformStyleProxy&) = delete;
42 
43  float GetSpeedFactor(vtkCamera* cam, vtkMatrix4x4* mvmatrix); /* WRS-TODO: what does this do? */
44  vtkCamera* GetCamera(); // WRS-TODO: how is this used?
45 };
46 
47 #endif // vtkSMVRGrabTransformStyleProxy_h
vtkSMVRTrackStyleProxy
Definition: vtkSMVRTrackStyleProxy.h:18
vtkSMVRTrackStyleProxy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMRenderViewProxy
implementation for View that includes render window and renderers.
Definition: vtkSMRenderViewProxy.h:27
vtkSMVRGrabTransformStyleProxy::SavedInverseWandMatrix
vtkNew< vtkMatrix4x4 > SavedInverseWandMatrix
Definition: vtkSMVRGrabTransformStyleProxy.h:37
vtkSMIntVectorProperty
property representing a vector of integers
Definition: vtkSMIntVectorProperty.h:21
vtkSMVRTrackStyleProxy::HandleTracker
void HandleTracker(const vtkVREvent &event) override
vtkSMVRTrackStyleProxy.h
vtkSMVRGrabTransformStyleProxy::IsInitialRecorded
bool IsInitialRecorded
Definition: vtkSMVRGrabTransformStyleProxy.h:34
vtkSMDoubleVectorProperty
property representing a vector of doubles
Definition: vtkSMDoubleVectorProperty.h:21
vtkIndent
vtkSMVRGrabTransformStyleProxy::EnableNavigate
bool EnableNavigate
Definition: vtkSMVRGrabTransformStyleProxy.h:33
vtkMatrix4x4
vtkCamera
vtkNew< vtkMatrix4x4 >
vtkSMVRGrabTransformStyleProxy
Definition: vtkSMVRGrabTransformStyleProxy.h:18
vtkVREvent
Definition: vtkVRQueue.h:44
vtkSMVRGrabTransformStyleProxy::SavedModelViewMatrix
vtkNew< vtkMatrix4x4 > SavedModelViewMatrix
Definition: vtkSMVRGrabTransformStyleProxy.h:36
vtkNew.h
vtkSMVRTrackStyleProxy::New
static vtkSMVRTrackStyleProxy * New()
vtkSMVRInteractorStyleProxy::HandleButton
virtual void HandleButton(const vtkVREvent &event)