VTK  9.5.2
vtkLightWidget.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
33
34#ifndef vtkLightWidget_h
35#define vtkLightWidget_h
36
37#include "vtkAbstractWidget.h"
38#include "vtkInteractionWidgetsModule.h" // For export macro
39#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
40
41VTK_ABI_NAMESPACE_BEGIN
42class vtkHandleWidget;
44
45class VTKINTERACTIONWIDGETS_EXPORT VTK_MARSHALAUTO vtkLightWidget : public vtkAbstractWidget
46{
47public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
58
63
68
69protected:
71 ~vtkLightWidget() override = default;
72
73 bool WidgetActive = false;
74
75 // These methods handle events
80
81private:
82 vtkLightWidget(const vtkLightWidget&) = delete;
83 void operator=(const vtkLightWidget&) = delete;
84};
85
86VTK_ABI_NAMESPACE_END
87#endif
a general widget for moving handles
a simple class to control print indentation
Definition vtkIndent.h:29
vtkLightRepresentation * GetLightRepresentation()
Return the representation as a vtkLightRepresentation.
static void EndSelectAction(vtkAbstractWidget *)
void SetRepresentation(vtkLightRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
~vtkLightWidget() override=default
static void ScaleAction(vtkAbstractWidget *)
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
static void MoveAction(vtkAbstractWidget *)
void PrintSelf(ostream &os, vtkIndent indent) override
Standard macros implementing standard VTK methods.
static void SelectAction(vtkAbstractWidget *)
static vtkLightWidget * New()
#define VTK_MARSHALAUTO