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
virtual void HandleButton(const vtkVREvent &event)
property representing a vector of integers
implementation for View that includes render window and renderers.
property representing a vector of doubles
void PrintSelf(ostream &os, vtkIndent indent) override
void HandleTracker(const vtkVREvent &event) override
static vtkSMVRTrackStyleProxy * New()