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();
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:
40  void operator=(const vtkOpenXRInteractorStyle&) = delete;
41 };
42 
43 VTK_ABI_NAMESPACE_END
44 #endif
platform-independent render window interaction including picking and frame rate control.
virtual void SetupActions(vtkRenderWindowInteractor *iren)=0
Setup default actions defined with an action path and a corresponding command.
static vtkInteractorStyle3D * New()
Extended from vtkInteractorStyle3D to override command methods.
void LoadNextCameraPose() override
Methods for interaction.
vtkVRControlsHelper * MakeControlsHelper() override
Creates a new ControlsHelper suitable for use with this class.
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller...
extended from vtkInteractorStyle3D to override command methods