VTK  9.1.0
vtkFeatureEdges.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkFeatureEdges.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=========================================================================*/
128#ifndef vtkFeatureEdges_h
129#define vtkFeatureEdges_h
130
131#include "vtkFiltersCoreModule.h" // For export macro
132#include "vtkPolyDataAlgorithm.h"
133
135
136class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
137{
138public:
140
144 void PrintSelf(ostream& os, vtkIndent indent) override;
146
152
154
161
163
166 vtkSetMacro(BoundaryEdges, bool);
167 vtkGetMacro(BoundaryEdges, bool);
168 vtkBooleanMacro(BoundaryEdges, bool);
170
172
175 vtkSetMacro(FeatureEdges, bool);
176 vtkGetMacro(FeatureEdges, bool);
177 vtkBooleanMacro(FeatureEdges, bool);
179
181
184 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
185 vtkGetMacro(FeatureAngle, double);
187
189
192 vtkSetMacro(NonManifoldEdges, bool);
193 vtkGetMacro(NonManifoldEdges, bool);
194 vtkBooleanMacro(NonManifoldEdges, bool);
196
198
202 vtkSetMacro(ManifoldEdges, bool);
203 vtkGetMacro(ManifoldEdges, bool);
204 vtkBooleanMacro(ManifoldEdges, bool);
206
208
214 vtkSetMacro(PassLines, bool);
215 vtkGetMacro(PassLines, bool);
216 vtkBooleanMacro(PassLines, bool);
218
220
223 vtkSetMacro(Coloring, bool);
224 vtkGetMacro(Coloring, bool);
225 vtkBooleanMacro(Coloring, bool);
227
229
234 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
236
241
246
248
253 vtkSetMacro(OutputPointsPrecision, int);
254 vtkGetMacro(OutputPointsPrecision, int);
256
257protected:
260
261 // Usual data generation method
264
275
276private:
277 vtkFeatureEdges(const vtkFeatureEdges&) = delete;
278 void operator=(const vtkFeatureEdges&) = delete;
279};
280
281#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:113
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:287