VTK  9.2.6
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 "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
30#include "vtkRenderingVRModule.h" // For export macro
31
33
34class VTKRENDERINGVR_EXPORT vtkVRPanelWidget : public vtkAbstractWidget
35{
36public:
41
43
47 void PrintSelf(ostream& os, vtkIndent indent) override;
49
56
61
62protected:
64 ~vtkVRPanelWidget() override = default;
65
66 // Manage the state of the widget
69 {
70 Start = 0,
71 Active
72 };
73#if !defined(VTK_LEGACY_REMOVE)
74 VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
76#endif
77
84
85private:
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:119
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.
#define VTK_DEPRECATED_IN_9_2_0(reason)