vtkSMVRDebugStyleProxy.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
12 #ifndef vtkSMVRDebugStyleProxy_h
13 #define vtkSMVRDebugStyleProxy_h
14 
15 #include "vtkNew.h"
16 #include "vtkPVIncubatorCAVEInteractionStylesModule.h" // for export macro
18 
19 class vtkCamera;
20 class vtkMatrix4x4;
24 struct vtkVREvent;
25 
26 class VTKPVINCUBATORCAVEINTERACTIONSTYLES_EXPORT vtkSMVRDebugStyleProxy
28 {
29 public:
30  static vtkSMVRDebugStyleProxy* New();
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
34  // Overridden to defer expensive calculations and update vtk objects
35  bool Update() override;
36 
37 protected:
39  ~vtkSMVRDebugStyleProxy() override = default;
40 
41  void HandleButton(const vtkVREvent& event) override;
42  void HandleValuator(const vtkVREvent& event) override;
43  void HandleTracker(const vtkVREvent& event) override;
44 
45 private:
46  vtkSMVRDebugStyleProxy(const vtkSMVRDebugStyleProxy&); // Not implemented
47  void operator=(const vtkSMVRDebugStyleProxy&); // Not implemented
48 
49  bool EnableReport;
50  vtkNew<vtkMatrix4x4> TrackerMatrix;
51 };
52 
53 #endif // vtkSMVRDebugStyleProxy_h
an interaction style to dump out debug information
the base class for all interactor styles
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
virtual void HandleTracker(const vtkVREvent &event)
virtual void HandleValuator(const vtkVREvent &event)
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSMVRInteractorStyleProxy * New()
virtual bool Update()
Update() called to update all the remote vtkObjects and perhaps even to render.