VTK  9.3.0
vtkVRPanelWidget.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
13#ifndef vtkVRPanelWidget_h
14#define vtkVRPanelWidget_h
15
16#include "vtkAbstractWidget.h"
17#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
18#include "vtkRenderingVRModule.h" // For export macro
19
20VTK_ABI_NAMESPACE_BEGIN
22
23class VTKRENDERINGVR_EXPORT vtkVRPanelWidget : public vtkAbstractWidget
24{
25public:
30
32
36 void PrintSelf(ostream& os, vtkIndent indent) override;
38
45
50
51protected:
53 ~vtkVRPanelWidget() override = default;
54
55 // Manage the state of the widget
58 {
59 Start = 0,
60 Active
61 };
62#if !defined(VTK_LEGACY_REMOVE)
63 VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
65#endif
66
73
74private:
75 vtkVRPanelWidget(const vtkVRPanelWidget&) = delete;
76 void operator=(const vtkVRPanelWidget&) = delete;
77};
78VTK_ABI_NAMESPACE_END
79#endif
define the API for widget / widget representation
a simple class to control print indentation
Definition vtkIndent.h:29
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 vtkObject 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)