VTK  9.2.6
vtkOpenVRInteractorStyle.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkOpenVRInteractorStyle.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 vtkOpenVRInteractorStyle_h
21 #define vtkOpenVRInteractorStyle_h
22 
23 #include "vtkRenderingOpenVRModule.h" // For export macro
24 #include "vtkVRInteractorStyle.h"
25 
28 
29 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRInteractorStyle : public vtkVRInteractorStyle
30 {
31 public:
32  static vtkOpenVRInteractorStyle* New();
34 
38  void SetupActions(vtkRenderWindowInteractor* iren) override;
39 
43  void LoadNextCameraPose() override;
44 
49 
50 protected:
51  vtkOpenVRInteractorStyle() = default;
52  ~vtkOpenVRInteractorStyle() override = default;
53 
54 private:
56  void operator=(const vtkOpenVRInteractorStyle&) = delete;
57 };
58 
59 #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...