vtkSMVRControlSlicePositionStyleProxy.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 vtkSMVRControlSlicePositionStyleProxy_h
5 #define vtkSMVRControlSlicePositionStyleProxy_h
6 
7 #include "vtkNew.h"
8 #include "vtkPVIncubatorCAVEInteractionStylesModule.h" // for export macro
10 
11 class vtkTransform;
12 class vtkMatrix4x4;
13 
14 class VTKPVINCUBATORCAVEINTERACTIONSTYLES_EXPORT vtkSMVRControlSlicePositionStyleProxy
16 {
17 public:
20  void PrintSelf(ostream& os, vtkIndent indent) override;
21 
22  int GetControlledPropertySize() override { return 3; }
23 
28  bool Update() override;
29 
30 protected:
33 
34  void HandleButton(const vtkVREvent& event) override;
35  void HandleTracker(const vtkVREvent& event) override;
36 
37  bool Enabled;
39  double Origin[4];
41 
42 private:
44  const vtkSMVRControlSlicePositionStyleProxy&) = delete; // Not implemented
45  void operator=(const vtkSMVRControlSlicePositionStyleProxy&) = delete; // Not implemented
46 };
47 
48 #endif // vtkSMVRControlSlicePositionStyleProxy_h
virtual void HandleButton(const vtkVREvent &event)
virtual void HandleTracker(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.