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=========================================================================*/
48#ifndef vtkFeatureEdges_h
49#define vtkFeatureEdges_h
50
51#include "vtkFiltersCoreModule.h" // For export macro
53
55
56class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
57{
58public:
60
64 void PrintSelf(ostream& os, vtkIndent indent) override;
66
72
74
81
83
86 vtkSetMacro(BoundaryEdges, bool);
87 vtkGetMacro(BoundaryEdges, bool);
88 vtkBooleanMacro(BoundaryEdges, bool);
90
92
95 vtkSetMacro(FeatureEdges, bool);
96 vtkGetMacro(FeatureEdges, bool);
97 vtkBooleanMacro(FeatureEdges, bool);
99
101
104 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
105 vtkGetMacro(FeatureAngle, double);
107
109
112 vtkSetMacro(NonManifoldEdges, bool);
113 vtkGetMacro(NonManifoldEdges, bool);
114 vtkBooleanMacro(NonManifoldEdges, bool);
116
118
122 vtkSetMacro(ManifoldEdges, bool);
123 vtkGetMacro(ManifoldEdges, bool);
124 vtkBooleanMacro(ManifoldEdges, bool);
126
128
134 vtkSetMacro(PassLines, bool);
135 vtkGetMacro(PassLines, bool);
136 vtkBooleanMacro(PassLines, bool);
138
140
143 vtkSetMacro(Coloring, bool);
144 vtkGetMacro(Coloring, bool);
145 vtkBooleanMacro(Coloring, bool);
147
149
154 vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
156
161
166
168
173 vtkSetMacro(OutputPointsPrecision, int);
174 vtkGetMacro(OutputPointsPrecision, int);
176
177protected:
180
181 // Usual data generation method
184
195
196private:
197 vtkFeatureEdges(const vtkFeatureEdges&) = delete;
198 void operator=(const vtkFeatureEdges&) = delete;
199};
200
201#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:43
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