VTK  9.1.0
vtkOpenVRControlsHelper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkOpenVRControlsHelper.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 =========================================================================*/
24 #ifndef vtkOpenVRControlsHelper_h
25 #define vtkOpenVRControlsHelper_h
26 
27 #include "vtkRenderingOpenVRModule.h" // For export macro
28 #include "vtkVRControlsHelper.h"
29 
30 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRControlsHelper : public vtkVRControlsHelper
31 {
32 public:
38 
39 protected:
41  ~vtkOpenVRControlsHelper() override = default;
42 
43  void InitControlPosition() override;
44 
45 private:
47  void operator=(const vtkOpenVRControlsHelper&) = delete;
48 };
49 
50 #endif
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller.
void InitControlPosition() override
Must be overriden in subclasses to init the member variable ControlPositionLC to position the tooltip...
vtkOpenVRControlsHelper()=default
static vtkOpenVRControlsHelper * New()
Instantiate the class.
~vtkOpenVRControlsHelper() override=default
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller.