VTK  9.3.20240416
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 
22 VTK_ABI_NAMESPACE_BEGIN
24 
25 class VTKRENDERINGVR_EXPORT vtkVRPanelWidget : public vtkAbstractWidget
26 {
27 public:
31  static vtkVRPanelWidget* New();
32 
34 
38  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
47 
51  void CreateDefaultRepresentation() override;
52 
53 protected:
55  ~vtkVRPanelWidget() override = default;
56 
57  // Manage the state of the widget
60  {
61  Start = 0,
62  Active
63  };
64 
71 
72 private:
73  vtkVRPanelWidget(const vtkVRPanelWidget&) = delete;
74  void operator=(const vtkVRPanelWidget&) = delete;
75 };
76 VTK_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.
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