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
16 #ifndef vtkVRPanelWidget_h
17 #define vtkVRPanelWidget_h
18 
19 #include "vtkAbstractWidget.h"
20 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
21 #include "vtkRenderingVRModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
25 
26 class VTKRENDERINGVR_EXPORT vtkVRPanelWidget : public vtkAbstractWidget
27 {
28 public:
32  static vtkVRPanelWidget* New();
33 
35 
39  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
48 
52  void CreateDefaultRepresentation() override;
53 
54 protected:
56  ~vtkVRPanelWidget() override = default;
57 
58  // Manage the state of the widget
61  {
62  Start = 0,
63  Active
64  };
65 #if !defined(VTK_LEGACY_REMOVE)
66  VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
68 #endif
69 
76 
77 private:
78  vtkVRPanelWidget(const vtkVRPanelWidget&) = delete;
79  void operator=(const vtkVRPanelWidget&) = delete;
80 };
81 VTK_ABI_NAMESPACE_END
82 #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.
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
#define VTK_DEPRECATED_IN_9_2_0(reason)