VTK  9.6.1
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
29
30#ifndef vtkFeatureEdges_h
31#define vtkFeatureEdges_h
32
33#include "vtkFiltersCoreModule.h" // For export macro
35#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
36
37VTK_ABI_NAMESPACE_BEGIN
39
40class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkFeatureEdges : public vtkPolyDataAlgorithm
41{
42public:
44
48 void PrintSelf(ostream& os, vtkIndent indent) override;
50
56
58
65
67
70 vtkSetMacro(BoundaryEdges, bool);
71 vtkGetMacro(BoundaryEdges, bool);
72 vtkBooleanMacro(BoundaryEdges, bool);
74
76
79 vtkSetMacro(FeatureEdges, bool);
80 vtkGetMacro(FeatureEdges, bool);
81 vtkBooleanMacro(FeatureEdges, bool);
83
85
88 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
89 vtkGetMacro(FeatureAngle, double);
91
93
96 vtkSetMacro(NonManifoldEdges, bool);
97 vtkGetMacro(NonManifoldEdges, bool);
98 vtkBooleanMacro(NonManifoldEdges, bool);
100
102
106 vtkSetMacro(ManifoldEdges, bool);
107 vtkGetMacro(ManifoldEdges, bool);
108 vtkBooleanMacro(ManifoldEdges, bool);
110
112
118 vtkSetMacro(PassLines, bool);
119 vtkGetMacro(PassLines, bool);
120 vtkBooleanMacro(PassLines, bool);
122
124
127 vtkSetMacro(Coloring, bool);
128 vtkGetMacro(Coloring, bool);
129 vtkBooleanMacro(Coloring, bool);
131
133
143 vtkSetMacro(RemoveGhostInterfaces, bool);
144 vtkGetMacro(RemoveGhostInterfaces, bool);
145 vtkBooleanMacro(RemoveGhostInterfaces, bool);
147
149
156
161
166
168
173 vtkSetMacro(OutputPointsPrecision, int);
174 vtkGetMacro(OutputPointsPrecision, int);
176
177protected:
180
181 // Usual data generation method
184
196
197private:
198 vtkFeatureEdges(const vtkFeatureEdges&) = delete;
199 void operator=(const vtkFeatureEdges&) = delete;
200};
201
202VTK_ABI_NAMESPACE_END
203#endif
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:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:323
#define VTK_MARSHALAUTO