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
17 
18 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRInteractorStyle : public vtkVRInteractorStyle
19 {
20 public:
21  static vtkOpenVRInteractorStyle* New();
23 
27  void SetupActions(vtkRenderWindowInteractor* iren) override;
28 
32  void LoadNextCameraPose() override;
33 
38 
39 protected:
40  vtkOpenVRInteractorStyle() = default;
41  ~vtkOpenVRInteractorStyle() override = default;
42 
43 private:
45  void operator=(const vtkOpenVRInteractorStyle&) = delete;
46 };
47 
48 VTK_ABI_NAMESPACE_END
49 #endif
virtual void LoadNextCameraPose()=0
Methods for interaction.
Implements OpenVR specific functions required by vtkVRInteractorStyle.
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.
virtual vtkVRControlsHelper * MakeControlsHelper()=0
Creates a new ControlsHelper suitable for use with the child class.
static vtkInteractorStyle3D * New()
Extended from vtkInteractorStyle3D to override command methods.
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller...