VTK  9.7.1
vtkFeatureEdges.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
30 #ifndef vtkFeatureEdges_h
31 #define vtkFeatureEdges_h
32 
33 #include "vtkFiltersCoreModule.h" // For export macro
34 #include "vtkPolyDataAlgorithm.h"
35 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
36 
37 VTK_ABI_NAMESPACE_BEGIN
39 
40 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkFeatureEdges : public vtkPolyDataAlgorithm
41 {
42 public:
44 
48  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
55  static vtkFeatureEdges* New();
56 
58 
62  void ExtractAllEdgeTypesOn();
63  void ExtractAllEdgeTypesOff();
65 
67 
70  vtkSetMacro(BoundaryEdges, bool);
71  vtkGetMacro(BoundaryEdges, bool);
72  vtkBooleanMacro(BoundaryEdges, bool);
74 
76 
79  vtkSetMacro(FeatureEdges, bool);
80  vtkGetMacro(FeatureEdges, bool);
81  vtkBooleanMacro(FeatureEdges, bool);
83 
85 
88  vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
89  vtkGetMacro(FeatureAngle, double);
91 
93 
96  vtkSetMacro(NonManifoldEdges, bool);
97  vtkGetMacro(NonManifoldEdges, bool);
98  vtkBooleanMacro(NonManifoldEdges, bool);
100 
102 
106  vtkSetMacro(ManifoldEdges, bool);
107  vtkGetMacro(ManifoldEdges, bool);
108  vtkBooleanMacro(ManifoldEdges, bool);
110 
112 
118  vtkSetMacro(PassLines, bool);
119  vtkGetMacro(PassLines, bool);
120  vtkBooleanMacro(PassLines, bool);
122 
124 
127  vtkSetMacro(Coloring, bool);
128  vtkGetMacro(Coloring, bool);
129  vtkBooleanMacro(Coloring, bool);
131 
133 
143  vtkSetMacro(RemoveGhostInterfaces, bool);
144  vtkGetMacro(RemoveGhostInterfaces, bool);
145  vtkBooleanMacro(RemoveGhostInterfaces, bool);
147 
149 
153  void SetLocator(vtkIncrementalPointLocator* locator);
154  vtkGetObjectMacro(Locator, vtkIncrementalPointLocator);
156 
160  void CreateDefaultLocator();
161 
165  vtkMTimeType GetMTime() override;
166 
168 
173  vtkSetMacro(OutputPointsPrecision, int);
174  vtkGetMacro(OutputPointsPrecision, int);
176 
177 protected:
178  vtkFeatureEdges();
179  ~vtkFeatureEdges() override;
180 
181  // Usual data generation method
184 
185  double FeatureAngle;
190  bool PassLines;
191  bool Coloring;
196 
197 private:
198  vtkFeatureEdges(const vtkFeatureEdges&) = delete;
199  void operator=(const vtkFeatureEdges&) = delete;
200 };
201 
202 VTK_ABI_NAMESPACE_END
203 #endif
vtkIncrementalPointLocator * Locator
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:318
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:28
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.
#define VTK_MARSHALAUTO
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.