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
30#ifndef vtkFeatureEdges_h
31#define vtkFeatureEdges_h
32
33#include "vtkFiltersCoreModule.h" // For export macro
35
36VTK_ABI_NAMESPACE_BEGIN
38
39class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
40{
41public:
43
47 void PrintSelf(ostream& os, vtkIndent indent) override;
49
55
57
64
66
69 vtkSetMacro(BoundaryEdges, bool);
70 vtkGetMacro(BoundaryEdges, bool);
71 vtkBooleanMacro(BoundaryEdges, bool);
73
75
78 vtkSetMacro(FeatureEdges, bool);
79 vtkGetMacro(FeatureEdges, bool);
80 vtkBooleanMacro(FeatureEdges, bool);
82
84
87 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
88 vtkGetMacro(FeatureAngle, double);
90
92
95 vtkSetMacro(NonManifoldEdges, bool);
96 vtkGetMacro(NonManifoldEdges, bool);
97 vtkBooleanMacro(NonManifoldEdges, bool);
99
101
105 vtkSetMacro(ManifoldEdges, bool);
106 vtkGetMacro(ManifoldEdges, bool);
107 vtkBooleanMacro(ManifoldEdges, bool);
109
111
117 vtkSetMacro(PassLines, bool);
118 vtkGetMacro(PassLines, bool);
119 vtkBooleanMacro(PassLines, bool);
121
123
126 vtkSetMacro(Coloring, bool);
127 vtkGetMacro(Coloring, bool);
128 vtkBooleanMacro(Coloring, bool);
130
132
142 vtkSetMacro(RemoveGhostInterfaces, bool);
143 vtkGetMacro(RemoveGhostInterfaces, bool);
144 vtkBooleanMacro(RemoveGhostInterfaces, bool);
146
148
153 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
155
160
165
167
172 vtkSetMacro(OutputPointsPrecision, int);
173 vtkGetMacro(OutputPointsPrecision, int);
175
176protected:
179
180 // Usual data generation method
183
195
196private:
197 vtkFeatureEdges(const vtkFeatureEdges&) = delete;
198 void operator=(const vtkFeatureEdges&) = delete;
199};
200
201VTK_ABI_NAMESPACE_END
202#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:29
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