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
48 #include "vtkPolyDataAlgorithm.h"
49 
51 
52 class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
53 {
54 public:
56  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
57 
62  static vtkFeatureEdges *New();
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 
122  void SetLocator(vtkIncrementalPointLocator *locator);
123  vtkGetObjectMacro(Locator,vtkIncrementalPointLocator);
125 
129  void CreateDefaultLocator();
130 
134  vtkMTimeType GetMTime() VTK_OVERRIDE;
135 
137 
142  vtkSetMacro(OutputPointsPrecision,int);
143  vtkGetMacro(OutputPointsPrecision,int);
145 
146 protected:
147  vtkFeatureEdges();
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;
162 private:
163  vtkFeatureEdges(const vtkFeatureEdges&) VTK_DELETE_FUNCTION;
164  void operator=(const vtkFeatureEdges&) VTK_DELETE_FUNCTION;
165 };
166 
167 #endif
168 
169 
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:300
Abstract class in support of both point location and point insertion.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
extract boundary, non-manifold, and/or sharp edges from polygonal data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.