VTK: Rendering/OpenXR/vtkOpenXRInteractorStyle.h Source File

| VTK 9.3.1

vtkOpenXRInteractorStyle.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 vtkOpenXRInteractorStyle_h
9 #define vtkOpenXRInteractorStyle_h
10
11 #include "vtkRenderingOpenXRModule.h" // For export macro
12 #include "vtkVRInteractorStyle.h"
13
14 VTK_ABI_NAMESPACE_BEGIN
15 class VTKRENDERINGOPENXR_EXPORT vtkOpenXRInteractorStyle : public vtkVRInteractorStyle
16 {
17 public:
18 static vtkOpenXRInteractorStyle* New();
19 vtkTypeMacro(vtkOpenXRInteractorStyle, vtkVRInteractorStyle);
20
24 void SetupActions(vtkRenderWindowInteractor* iren) override;
25
29 vtkVRControlsHelper* MakeControlsHelper() override { return nullptr; };
30
31 // likely to be removed
32 void LoadNextCameraPose() override {}
33
34 protected:
35 vtkOpenXRInteractorStyle() = default;
36 ~vtkOpenXRInteractorStyle() override = default;
37
38 private:
39 vtkOpenXRInteractorStyle(const vtkOpenXRInteractorStyle&) = delete;
40 void operator=(const vtkOpenXRInteractorStyle&) = delete;
41 };
42
43 VTK_ABI_NAMESPACE_END
44 #endif
vtkOpenXRInteractorStyle
extended from vtkInteractorStyle3D to override command methods
Definition: vtkOpenXRInteractorStyle.h:16
vtkOpenXRInteractorStyle::LoadNextCameraPose
void LoadNextCameraPose() override
Methods for interaction.
Definition: vtkOpenXRInteractorStyle.h:32
vtkOpenXRInteractorStyle::New
static vtkOpenXRInteractorStyle * New()
vtkOpenXRInteractorStyle::SetupActions
void SetupActions(vtkRenderWindowInteractor *iren) override
Setup default actions defined with an action path and a corresponding command.
vtkOpenXRInteractorStyle::MakeControlsHelper
vtkVRControlsHelper * MakeControlsHelper() override
Creates a new ControlsHelper suitable for use with this class.
Definition: vtkOpenXRInteractorStyle.h:29
vtkOpenXRInteractorStyle::~vtkOpenXRInteractorStyle
~vtkOpenXRInteractorStyle() override=default
vtkOpenXRInteractorStyle::vtkOpenXRInteractorStyle
vtkOpenXRInteractorStyle()=default
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