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
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
vtkSMIntVectorProperty
property representing a vector of integers
Definition: vtkSMIntVectorProperty.h:21
vtkSMVRTrackStyleProxy::HandleTracker
void HandleTracker(const vtkVREvent &event) override
vtkSMVRResetTransformStyleProxy::SavedModelViewMatrix
vtkNew< vtkMatrix4x4 > SavedModelViewMatrix
Definition: vtkSMVRResetTransformStyleProxy.h:36
vtkSMVRResetTransformStyleProxy
Definition: vtkSMVRResetTransformStyleProxy.h:18
vtkSMVRResetTransformStyleProxy::IsInitialRecorded
bool IsInitialRecorded
Definition: vtkSMVRResetTransformStyleProxy.h:34
vtkSMVRTrackStyleProxy.h
vtkSMDoubleVectorProperty
property representing a vector of doubles
Definition: vtkSMDoubleVectorProperty.h:21
vtkIndent
vtkMatrix4x4
vtkCamera
vtkNew< vtkMatrix4x4 >
vtkSMVRResetTransformStyleProxy::SavedInverseWandMatrix
vtkNew< vtkMatrix4x4 > SavedInverseWandMatrix
Definition: vtkSMVRResetTransformStyleProxy.h:37
vtkVREvent
Definition: vtkVRQueue.h:44
vtkSMVRResetTransformStyleProxy::EnableNavigate
bool EnableNavigate
Definition: vtkSMVRResetTransformStyleProxy.h:33
vtkNew.h
vtkSMVRTrackStyleProxy::New
static vtkSMVRTrackStyleProxy * New()
vtkSMVRInteractorStyleProxy::HandleButton
virtual void HandleButton(const vtkVREvent &event)