VTK  9.4.20250130
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
16#ifndef vtkVRPanelWidget_h
17#define vtkVRPanelWidget_h
18
19#include "vtkAbstractWidget.h"
20#include "vtkRenderingVRModule.h" // For export macro
21
22VTK_ABI_NAMESPACE_BEGIN
24
25class VTKRENDERINGVR_EXPORT vtkVRPanelWidget : public vtkAbstractWidget
26{
27public:
32
34
38 void PrintSelf(ostream& os, vtkIndent indent) override;
40
47
52
53protected:
55 ~vtkVRPanelWidget() override = default;
56
57 // Manage the state of the widget
60 {
61 Start = 0,
62 Active
63 };
64
71
72private:
73 vtkVRPanelWidget(const vtkVRPanelWidget&) = delete;
74 void operator=(const vtkVRPanelWidget&) = delete;
75};
76VTK_ABI_NAMESPACE_END
77#endif
define the API for widget / widget representation
a simple class to control print indentation
Definition vtkIndent.h:108
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.