VTK: Rendering/OpenVR/vtkOpenVRInteractorStyle.h Source File

| VTK 9.3.1

vtkOpenVRInteractorStyle.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
8 #ifndef vtkOpenVRInteractorStyle_h
9 #define vtkOpenVRInteractorStyle_h
10
11 #include "vtkRenderingOpenVRModule.h" // For export macro
12 #include "vtkVRInteractorStyle.h"
13
14 VTK_ABI_NAMESPACE_BEGIN
15 class vtkRenderWindowInteractor;
16 class vtkVRControlsHelper;
17
18 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRInteractorStyle : public vtkVRInteractorStyle
19 {
20 public:
21 static vtkOpenVRInteractorStyle* New();
22 vtkTypeMacro(vtkOpenVRInteractorStyle, vtkVRInteractorStyle);
23
27 void SetupActions(vtkRenderWindowInteractor* iren) override;
28
32 void LoadNextCameraPose() override;
33
37 vtkVRControlsHelper* MakeControlsHelper() override;
38
39 protected:
40 vtkOpenVRInteractorStyle() = default;
41 ~vtkOpenVRInteractorStyle() override = default;
42
43 private:
44 vtkOpenVRInteractorStyle(const vtkOpenVRInteractorStyle&) = delete;
45 void operator=(const vtkOpenVRInteractorStyle&) = delete;
46 };
47
48 VTK_ABI_NAMESPACE_END
49 #endif
vtkOpenVRInteractorStyle
Implements OpenVR specific functions required by vtkVRInteractorStyle.
Definition: vtkOpenVRInteractorStyle.h:19
vtkOpenVRInteractorStyle::SetupActions
void SetupActions(vtkRenderWindowInteractor *iren) override
Setup default actions defined with an action path and a corresponding command.
vtkOpenVRInteractorStyle::LoadNextCameraPose
void LoadNextCameraPose() override
Load the next camera pose.
vtkOpenVRInteractorStyle::~vtkOpenVRInteractorStyle
~vtkOpenVRInteractorStyle() override=default
vtkOpenVRInteractorStyle::vtkOpenVRInteractorStyle
vtkOpenVRInteractorStyle()=default
vtkOpenVRInteractorStyle::New
static vtkOpenVRInteractorStyle * New()
vtkOpenVRInteractorStyle::MakeControlsHelper
vtkVRControlsHelper * MakeControlsHelper() override
Creates a new ControlsHelper suitable for use with this class.
vtkRenderWindowInteractor
platform-independent render window interaction including picking and frame rate control.
Definition: vtkRenderWindowInteractor.h:82
vtkVRControlsHelper
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller.
Definition: vtkVRControlsHelper.h:32
vtkVRInteractorStyle
Extended from vtkInteractorStyle3D to override command methods.
Definition: vtkVRInteractorStyle.h:39
vtkVRInteractorStyle.h