vtkSMVRMovePointStyleProxy.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
11 #ifndef vtkSMVRMovePointStyleProxy_h
12 #define vtkSMVRMovePointStyleProxy_h
13 
14 #include "vtkPVIncubatorCAVEInteractionStylesModule.h" // for export macro
15 #include "vtkSMVRTrackStyleProxy.h"
16 
17 struct vtkVREvent;
18 
19 class VTKPVINCUBATORCAVEINTERACTIONSTYLES_EXPORT vtkSMVRMovePointStyleProxy
20  : public vtkSMVRTrackStyleProxy
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
27  int GetControlledPropertySize() override { return 3; }
28 
29 protected:
31  ~vtkSMVRMovePointStyleProxy() override = default;
32 
33  void HandleButton(const vtkVREvent& data) override;
34  void HandleTracker(const vtkVREvent& data) override;
35 
37 
38 private:
40  void operator=(const vtkSMVRMovePointStyleProxy&) = delete;
41 
42  double LastRecordedPosition[3];
43  bool PositionRecorded;
44 };
45 
46 #endif // vtkSMVRMovePointStyleProxy_h
data
virtual void HandleButton(const vtkVREvent &event)
void PrintSelf(ostream &os, vtkIndent indent) override
void HandleTracker(const vtkVREvent &event) override
static vtkSMVRTrackStyleProxy * New()
an interaction style to control the position of a point with a stylus