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=========================================================================*/
42#ifndef vtkFeatureEdges_h
43#define vtkFeatureEdges_h
44
45#include "vtkFiltersCoreModule.h" // For export macro
47
49
50class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
51{
52public:
54
58 void PrintSelf(ostream& os, vtkIndent indent) override;
60
66
68
75
77
80 vtkSetMacro(BoundaryEdges, bool);
81 vtkGetMacro(BoundaryEdges, bool);
82 vtkBooleanMacro(BoundaryEdges, bool);
84
86
89 vtkSetMacro(FeatureEdges, bool);
90 vtkGetMacro(FeatureEdges, bool);
91 vtkBooleanMacro(FeatureEdges, bool);
93
95
98 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
99 vtkGetMacro(FeatureAngle, double);
101
103
106 vtkSetMacro(NonManifoldEdges, bool);
107 vtkGetMacro(NonManifoldEdges, bool);
108 vtkBooleanMacro(NonManifoldEdges, bool);
110
112
116 vtkSetMacro(ManifoldEdges, bool);
117 vtkGetMacro(ManifoldEdges, bool);
118 vtkBooleanMacro(ManifoldEdges, bool);
120
122
128 vtkSetMacro(PassLines, bool);
129 vtkGetMacro(PassLines, bool);
130 vtkBooleanMacro(PassLines, bool);
132
134
137 vtkSetMacro(Coloring, bool);
138 vtkGetMacro(Coloring, bool);
139 vtkBooleanMacro(Coloring, bool);
141
143
153 vtkSetMacro(RemoveGhostInterfaces, bool);
154 vtkGetMacro(RemoveGhostInterfaces, bool);
155 vtkBooleanMacro(RemoveGhostInterfaces, bool);
157
159
164 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
166
171
176
178
183 vtkSetMacro(OutputPointsPrecision, int);
184 vtkGetMacro(OutputPointsPrecision, int);
186
187protected:
190
191 // Usual data generation method
194
206
207private:
208 vtkFeatureEdges(const vtkFeatureEdges&) = delete;
209 void operator=(const vtkFeatureEdges&) = delete;
210};
211
212#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:40
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