VTK  9.1.0
vtkVRPanelWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkVRPanelWidget.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 =========================================================================*/
28 #ifndef vtkVRPanelWidget_h
29 #define vtkVRPanelWidget_h
30 
31 #include "vtkAbstractWidget.h"
32 #include "vtkRenderingVRModule.h" // For export macro
33 
35 class vtkPropMap;
36 class vtkProp;
37 
38 class VTKRENDERINGVR_EXPORT vtkVRPanelWidget : public vtkAbstractWidget
39 {
40 public:
44  static vtkVRPanelWidget* New();
45 
47 
51  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
60 
64  void CreateDefaultRepresentation() override;
65 
66 protected:
68  ~vtkVRPanelWidget() override = default;
69 
70  // Manage the state of the widget
73  {
74  Start = 0,
75  Active
76  };
77 
84 
85 private:
86  vtkVRPanelWidget(const vtkVRPanelWidget&) = delete;
87  void operator=(const vtkVRPanelWidget&) = delete;
88 };
89 #endif
define the API for widget / widget representation
a simple class to control print indentation
Definition: vtkIndent.h:34
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:57
Widget representation for vtkVRPanelWidget Implementation of the popup panel representation for the v...
3D widget to display a panel/billboard
static void MoveAction3D(vtkAbstractWidget *)
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
static void SelectAction3D(vtkAbstractWidget *)
callback
static void EndSelectAction3D(vtkAbstractWidget *)
void PrintSelf(ostream &os, vtkIndent indent) override
Standard macros implementing standard VTK methods.
static vtkVRPanelWidget * New()
Instantiate the object.
void SetRepresentation(vtkVRPanelRepresentation *rep)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
~vtkVRPanelWidget() override=default