VTK  9.3.0
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
35#ifndef vtkPointCloudWidget_h
36#define vtkPointCloudWidget_h
37
38#include "vtkAbstractWidget.h"
39#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
40#include "vtkInteractionWidgetsModule.h" // For export macro
41#include "vtkLegacy.h" // for VTK_LEGACY_REMOVE
42
43VTK_ABI_NAMESPACE_BEGIN
45
46class VTKINTERACTIONWIDGETS_EXPORT vtkPointCloudWidget : public vtkAbstractWidget
47{
48public:
50
55 void PrintSelf(ostream& os, vtkIndent indent) override;
57
64 {
65 this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));
66 }
67
73
78 void SetEnabled(int enabling) override;
79
80protected:
83
86 {
87 Start = 0,
88 Active
89 };
90#if !defined(VTK_LEGACY_REMOVE)
91 VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
93#endif
94
95 // These methods handle mouse events
99
100private:
102 void operator=(const vtkPointCloudWidget&) = delete;
103};
104
105VTK_ABI_NAMESPACE_END
106#endif
define the API for widget / widget representation
a simple class to control print indentation
Definition vtkIndent.h:29
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_DEPRECATED_IN_9_2_0(reason)