VTK  9.0.1
vtkOpenVRPanelWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkOpenVRPanelWidget.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 =========================================================================*/
25 #ifndef vtkOpenVRPanelWidget_h
26 #define vtkOpenVRPanelWidget_h
27 
28 #include "vtkAbstractWidget.h"
29 #include "vtkRenderingOpenVRModule.h" // For export macro
30 
32 class vtkPropMap;
33 class vtkProp;
34 
35 class VTKRENDERINGOPENVR_EXPORT vtkOpenVRPanelWidget : public vtkAbstractWidget
36 {
37 public:
42 
44 
48  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
57 
61  void CreateDefaultRepresentation() override;
62 
63 protected:
66 
67  // Manage the state of the widget
70  {
71  Start = 0,
72  Active
73  };
74 
81 
82 private:
84  void operator=(const vtkOpenVRPanelWidget&) = delete;
85 };
86 #endif
define the API for widget / widget representation
a simple class to control print indentation
Definition: vtkIndent.h:34
Widget representation for vtkOpenVRPanelWidget Implementation of the popup panel representation for t...
3D widget to display a panel/billboard
static vtkOpenVRPanelWidget * New()
Instantiate the object.
static void MoveAction3D(vtkAbstractWidget *)
static void SelectAction3D(vtkAbstractWidget *)
callback
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
~vtkOpenVRPanelWidget() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetRepresentation(vtkOpenVRPanelRepresentation *rep)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
static void EndSelectAction3D(vtkAbstractWidget *)
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:48