VTK
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=========================================================================*/
44#ifndef vtkFeatureEdges_h
45#define vtkFeatureEdges_h
46
47#include "vtkFiltersCoreModule.h" // For export macro
49
51
52class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
53{
54public:
56 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
57
63
65
68 vtkSetMacro(BoundaryEdges,int);
69 vtkGetMacro(BoundaryEdges,int);
70 vtkBooleanMacro(BoundaryEdges,int);
72
74
77 vtkSetMacro(FeatureEdges,int);
78 vtkGetMacro(FeatureEdges,int);
79 vtkBooleanMacro(FeatureEdges,int);
81
83
86 vtkSetClampMacro(FeatureAngle,double,0.0,180.0);
87 vtkGetMacro(FeatureAngle,double);
89
91
94 vtkSetMacro(NonManifoldEdges,int);
95 vtkGetMacro(NonManifoldEdges,int);
96 vtkBooleanMacro(NonManifoldEdges,int);
98
100
103 vtkSetMacro(ManifoldEdges,int);
104 vtkGetMacro(ManifoldEdges,int);
105 vtkBooleanMacro(ManifoldEdges,int);
107
109
112 vtkSetMacro(Coloring,int);
113 vtkGetMacro(Coloring,int);
114 vtkBooleanMacro(Coloring,int);
116
118
123 vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
125
130
134 vtkMTimeType GetMTime() VTK_OVERRIDE;
135
137
142 vtkSetMacro(OutputPointsPrecision,int);
143 vtkGetMacro(OutputPointsPrecision,int);
145
146protected:
148 ~vtkFeatureEdges() VTK_OVERRIDE;
149
150 // Usual data generation method
151 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
152 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
153
154 double FeatureAngle;
155 int BoundaryEdges;
156 int FeatureEdges;
157 int NonManifoldEdges;
158 int ManifoldEdges;
159 int Coloring;
160 int OutputPointsPrecision;
162private:
163 vtkFeatureEdges(const vtkFeatureEdges&) VTK_DELETE_FUNCTION;
164 void operator=(const vtkFeatureEdges&) VTK_DELETE_FUNCTION;
165};
166
167#endif
168
169
extract boundary, non-manifold, and/or sharp edges from polygonal data
void SetLocator(vtkIncrementalPointLocator *locator)
Set / get a spatial locator for merging points.
static vtkFeatureEdges * New()
Construct object with feature angle = 30; all types of edges extracted and colored.
vtkMTimeType GetMTime() override
Return MTime also considering the locator.
void CreateDefaultLocator()
Create default locator.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248