VTK  9.2.6
vtkOpenXRInteractorStyle.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkOpenXRInteractorStyle.h
5 
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
20 #ifndef vtkOpenXRInteractorStyle_h
21 #define vtkOpenXRInteractorStyle_h
22 
23 #include "vtkRenderingOpenXRModule.h" // For export macro
24 #include "vtkVRInteractorStyle.h"
25 
26 class VTKRENDERINGOPENXR_EXPORT vtkOpenXRInteractorStyle : public vtkVRInteractorStyle
27 {
28 public:
29  static vtkOpenXRInteractorStyle* New();
31 
35  void SetupActions(vtkRenderWindowInteractor* iren) override;
36 
40  vtkVRControlsHelper* MakeControlsHelper() override { return nullptr; };
41 
42  // likely to be removed
44 
45 protected:
46  vtkOpenXRInteractorStyle() = default;
47  ~vtkOpenXRInteractorStyle() override = default;
48 
49 private:
51  void operator=(const vtkOpenXRInteractorStyle&) = delete;
52 };
53 
54 #endif
void LoadNextCameraPose()
Methods for interaction.
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.
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