VTK  9.2.6
vtkPointCloudWidget.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPointCloudWidget.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
50#ifndef vtkPointCloudWidget_h
51#define vtkPointCloudWidget_h
52
53#include "vtkAbstractWidget.h"
54#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_2_0
55#include "vtkInteractionWidgetsModule.h" // For export macro
56
58
59class VTKINTERACTIONWIDGETS_EXPORT vtkPointCloudWidget : public vtkAbstractWidget
60{
61public:
63
68 void PrintSelf(ostream& os, vtkIndent indent) override;
70
77 {
78 this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));
79 }
80
86
91 void SetEnabled(int enabling) override;
92
93protected:
96
99 {
100 Start = 0,
101 Active
102 };
103#if !defined(VTK_LEGACY_REMOVE)
104 VTK_DEPRECATED_IN_9_2_0("because leading underscore is reserved")
106#endif
107
108 // These methods handle mouse events
112
113private:
115 void operator=(const vtkPointCloudWidget&) = delete;
116};
117
118#endif
define the API for widget / widget representation
a simple class to control print indentation
Definition: vtkIndent.h:40
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)