VTK  9.1.0
vtkOpenVRControlsHelper.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkOpenVRControlsHelper.h
5
6Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7All rights reserved.
8See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10This software is distributed WITHOUT ANY WARRANTY; without even
11the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12PURPOSE. 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
30class VTKRENDERINGOPENVR_EXPORT vtkOpenVRControlsHelper : public vtkVRControlsHelper
31{
32public:
38
39protected:
41 ~vtkOpenVRControlsHelper() override = default;
42
43 void InitControlPosition() override;
44
45private:
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
~vtkOpenVRControlsHelper() override=default
static vtkOpenVRControlsHelper * New()
Instantiate the class.
Tooltip helper explaining controls Helper class to draw one tooltip per button around the controller.