VTK: Rendering/OpenVR/vtkOpenVRDefaultOverlay.h Source File

| VTK 9.3.1

vtkOpenVRDefaultOverlay.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkOpenVRDefaultOverlay_h
11 #define vtkOpenVRDefaultOverlay_h
12
13 #include "vtkOpenVROverlay.h"
14 #include "vtkRenderingOpenVRModule.h" // For export macro
15
16 VTK_ABI_NAMESPACE_BEGIN
17 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRDefaultOverlay : public vtkOpenVROverlay
18 {
19 public:
20 static vtkOpenVRDefaultOverlay* New();
21 vtkTypeMacro(vtkOpenVRDefaultOverlay, vtkOpenVROverlay);
22
26 void Render() override;
27
28 protected:
29 vtkOpenVRDefaultOverlay() = default;
30 ~vtkOpenVRDefaultOverlay() override = default;
31
32 void SetupSpots() override;
33
34 private:
35 vtkOpenVRDefaultOverlay(const vtkOpenVRDefaultOverlay&) = delete;
36 void operator=(const vtkOpenVRDefaultOverlay&) = delete;
37 };
38
39 VTK_ABI_NAMESPACE_END
40 #endif
vtkOpenVRDefaultOverlay
OpenVR overlay.
Definition: vtkOpenVRDefaultOverlay.h:18
vtkOpenVRDefaultOverlay::~vtkOpenVRDefaultOverlay
~vtkOpenVRDefaultOverlay() override=default
vtkOpenVRDefaultOverlay::New
static vtkOpenVRDefaultOverlay * New()
vtkOpenVRDefaultOverlay::SetupSpots
void SetupSpots() override
vtkOpenVRDefaultOverlay::Render
void Render() override
Render the overlay, we set some opf the spots based on current settings.
vtkOpenVRDefaultOverlay::vtkOpenVRDefaultOverlay
vtkOpenVRDefaultOverlay()=default
vtkOpenVROverlay
OpenVR overlay.
Definition: vtkOpenVROverlay.h:34
vtkOpenVROverlay.h