VTK  9.3.0
vtkFeatureEdges.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
39#ifndef vtkFeatureEdges_h
40#define vtkFeatureEdges_h
41
42#include "vtkFiltersCoreModule.h" // For export macro
44
45VTK_ABI_NAMESPACE_BEGIN
47
48class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
49{
50public:
52
56 void PrintSelf(ostream& os, vtkIndent indent) override;
58
64
66
73
75
78 vtkSetMacro(BoundaryEdges, bool);
79 vtkGetMacro(BoundaryEdges, bool);
80 vtkBooleanMacro(BoundaryEdges, bool);
82
84
87 vtkSetMacro(FeatureEdges, bool);
88 vtkGetMacro(FeatureEdges, bool);
89 vtkBooleanMacro(FeatureEdges, bool);
91
93
96 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
97 vtkGetMacro(FeatureAngle, double);
99
101
104 vtkSetMacro(NonManifoldEdges, bool);
105 vtkGetMacro(NonManifoldEdges, bool);
106 vtkBooleanMacro(NonManifoldEdges, bool);
108
110
114 vtkSetMacro(ManifoldEdges, bool);
115 vtkGetMacro(ManifoldEdges, bool);
116 vtkBooleanMacro(ManifoldEdges, bool);
118
120
126 vtkSetMacro(PassLines, bool);
127 vtkGetMacro(PassLines, bool);
128 vtkBooleanMacro(PassLines, bool);
130
132
135 vtkSetMacro(Coloring, bool);
136 vtkGetMacro(Coloring, bool);
137 vtkBooleanMacro(Coloring, bool);
139
141
151 vtkSetMacro(RemoveGhostInterfaces, bool);
152 vtkGetMacro(RemoveGhostInterfaces, bool);
153 vtkBooleanMacro(RemoveGhostInterfaces, bool);
155
157
162 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
164
169
174
176
181 vtkSetMacro(OutputPointsPrecision, int);
182 vtkGetMacro(OutputPointsPrecision, int);
184
185protected:
188
189 // Usual data generation method
192
204
205private:
206 vtkFeatureEdges(const vtkFeatureEdges&) = delete;
207 void operator=(const vtkFeatureEdges&) = delete;
208};
209
210VTK_ABI_NAMESPACE_END
211#endif
extract interior, boundary, non-manifold, and/or sharp edges from polygonal data
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void ExtractAllEdgeTypesOff()
Methods for turning the extraction of all types of edges on; and turning the extraction of all types ...
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
static vtkFeatureEdges * New()
Construct an instance with feature angle = 30; all types of edges (except manifold edges) are extract...
vtkMTimeType GetMTime() override
Return MTime also considering the locator.
~vtkFeatureEdges() override
void CreateDefaultLocator()
Create default locator.
void ExtractAllEdgeTypesOn()
Methods for turning the extraction of all types of edges on; and turning the extraction of all types ...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkIncrementalPointLocator * Locator
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270