vtkSMVRResetTransformStyleProxy.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 vtkSMVRResetTransformStyleProxy_h
5 #define vtkSMVRResetTransformStyleProxy_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 vtkSMVRResetTransformStyleProxy
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  const vtkSMVRResetTransformStyleProxy&) = delete; // Not implemented
42  void operator=(const vtkSMVRResetTransformStyleProxy&) = delete; // Not implemented
43 
44  float GetSpeedFactor(vtkCamera* cam); // WRS-TODO: what does this do?
45  vtkCamera* GetCamera();
46 };
47 
48 #endif // vtkSMVRResetTransformStyleProxy_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()