VTK  9.4.20250207
vtkPointCloudWidget.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
38#ifndef vtkPointCloudWidget_h
39#define vtkPointCloudWidget_h
40
41#include "vtkAbstractWidget.h"
42#include "vtkInteractionWidgetsModule.h" // For export macro
43#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
44
45VTK_ABI_NAMESPACE_BEGIN
47
48class VTKINTERACTIONWIDGETS_EXPORT VTK_MARSHALAUTO vtkPointCloudWidget : public vtkAbstractWidget
49{
50public:
52
57 void PrintSelf(ostream& os, vtkIndent indent) override;
59
66 {
67 this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));
68 }
69
75
80 void SetEnabled(int enabling) override;
81
82protected:
85
88 {
89 Start = 0,
90 Active
91 };
92
93 // These methods handle mouse events
97
98private:
100 void operator=(const vtkPointCloudWidget&) = delete;
101};
102
103VTK_ABI_NAMESPACE_END
104#endif
define the API for widget / widget representation
a simple class to control print indentation
Definition vtkIndent.h:108
represent the vtkPointCloudWidget
select and manipulate a point from a point cloud
static void EndSelectAction(vtkAbstractWidget *)
void SetRepresentation(vtkPointCloudRepresentation *r)
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
void SetEnabled(int enabling) override
Override superclasses' SetEnabled() method because the line widget must enable its internal handle wi...
~vtkPointCloudWidget() override
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information, and printing.
static vtkPointCloudWidget * New()
Standard methods for instantiation, type information, and printing.
static void SelectAction(vtkAbstractWidget *)
void CreateDefaultRepresentation() override
Create the default widget representation if one is not set.
static void MoveAction(vtkAbstractWidget *)
abstract class defines interface between the widget and widget representation classes
#define VTK_MARSHALAUTO