VTK  9.1.0
vtkVRPanelWidget.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkVRPanelWidget.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=========================================================================*/
25#ifndef vtkVRPanelWidget_h
26#define vtkVRPanelWidget_h
27
28#include "vtkAbstractWidget.h"
29#include "vtkRenderingVRModule.h" // For export macro
30
32class vtkPropMap;
33class vtkProp;
34
35class VTKRENDERINGVR_EXPORT vtkVRPanelWidget : public vtkAbstractWidget
36{
37public:
42
44
48 void PrintSelf(ostream& os, vtkIndent indent) override;
50
57
62
63protected:
65 ~vtkVRPanelWidget() override = default;
66
67 // Manage the state of the widget
70 {
71 Start = 0,
72 Active
73 };
74
81
82private:
83 vtkVRPanelWidget(const vtkVRPanelWidget&) = delete;
84 void operator=(const vtkVRPanelWidget&) = delete;
85};
86#endif
define the API for widget / widget representation
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:67
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.
void SetRepresentation(vtkVRPanelRepresentation *rep)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
~vtkVRPanelWidget() override=default
static vtkVRPanelWidget * New()
Instantiate the object.