VTK  9.2.6
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=========================================================================*/
38
39#ifndef vtkFeatureEdges_h
40#define vtkFeatureEdges_h
41
42#include "vtkFiltersCoreModule.h" // For export macro
44
46
47class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
48{
49public:
51
55 void PrintSelf(ostream& os, vtkIndent indent) override;
57
63
65
72
74
77 vtkSetMacro(BoundaryEdges, bool);
78 vtkGetMacro(BoundaryEdges, bool);
79 vtkBooleanMacro(BoundaryEdges, bool);
81
83
86 vtkSetMacro(FeatureEdges, bool);
87 vtkGetMacro(FeatureEdges, bool);
88 vtkBooleanMacro(FeatureEdges, bool);
90
92
95 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
96 vtkGetMacro(FeatureAngle, double);
98
100
103 vtkSetMacro(NonManifoldEdges, bool);
104 vtkGetMacro(NonManifoldEdges, bool);
105 vtkBooleanMacro(NonManifoldEdges, bool);
107
109
113 vtkSetMacro(ManifoldEdges, bool);
114 vtkGetMacro(ManifoldEdges, bool);
115 vtkBooleanMacro(ManifoldEdges, bool);
117
119
125 vtkSetMacro(PassLines, bool);
126 vtkGetMacro(PassLines, bool);
127 vtkBooleanMacro(PassLines, bool);
129
131
134 vtkSetMacro(Coloring, bool);
135 vtkGetMacro(Coloring, bool);
136 vtkBooleanMacro(Coloring, bool);
138
140
150 vtkSetMacro(RemoveGhostInterfaces, bool);
151 vtkGetMacro(RemoveGhostInterfaces, bool);
152 vtkBooleanMacro(RemoveGhostInterfaces, bool);
154
156
163
168
173
175
180 vtkSetMacro(OutputPointsPrecision, int);
181 vtkGetMacro(OutputPointsPrecision, int);
183
184protected:
187
188 // Usual data generation method
191
203
204private:
205 vtkFeatureEdges(const vtkFeatureEdges&) = delete;
206 void operator=(const vtkFeatureEdges&) = delete;
207};
208
209#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:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287