VTK  9.0.1
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 =========================================================================*/
39 #ifndef vtkFeatureEdges_h
40 #define vtkFeatureEdges_h
41 
42 #include "vtkFiltersCoreModule.h" // For export macro
43 #include "vtkPolyDataAlgorithm.h"
44 
46 
47 class VTKFILTERSCORE_EXPORT vtkFeatureEdges : public vtkPolyDataAlgorithm
48 {
49 public:
51 
55  void PrintSelf(ostream& os, vtkIndent indent) override;
57 
62  static vtkFeatureEdges* New();
63 
65 
69  void ExtractAllEdgeTypesOn();
70  void ExtractAllEdgeTypesOff();
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 
122  vtkSetMacro(Coloring, bool);
123  vtkGetMacro(Coloring, bool);
124  vtkBooleanMacro(Coloring, bool);
126 
128 
132  void SetLocator(vtkIncrementalPointLocator* locator);
133  vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
135 
139  void CreateDefaultLocator();
140 
144  vtkMTimeType GetMTime() override;
145 
147 
152  vtkSetMacro(OutputPointsPrecision, int);
153  vtkGetMacro(OutputPointsPrecision, int);
155 
156 protected:
157  vtkFeatureEdges();
158  ~vtkFeatureEdges() override;
159 
160  // Usual data generation method
163 
164  double FeatureAngle;
169  bool Coloring;
172 
173 private:
174  vtkFeatureEdges(const vtkFeatureEdges&) = delete;
175  void operator=(const vtkFeatureEdges&) = delete;
176 };
177 
178 #endif
vtkIncrementalPointLocator * Locator
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:293
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Abstract class in support of both point location and point insertion.
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
extract interior, boundary, non-manifold, and/or sharp edges from polygonal data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.