VTK  9.6.20260320
vtkFeatureEdgesDispatcher.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
3// SPDX-License-Identifier: BSD-3-Clause
18
19#ifndef vtkFeatureEdgesDispatcher_h
20#define vtkFeatureEdgesDispatcher_h
21
22#include "vtkFiltersHyperTreeModule.h" // needed for export macro
24
25VTK_ABI_NAMESPACE_BEGIN
26
27class VTKFILTERSHYPERTREE_EXPORT vtkFeatureEdgesDispatcher : public vtkPolyDataAlgorithm
28{
29
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
36
40 vtkSetMacro(BoundaryEdges, bool);
41 vtkGetMacro(BoundaryEdges, bool);
42 vtkBooleanMacro(BoundaryEdges, bool);
44
46
52 vtkSetMacro(FeatureEdges, bool);
53 vtkGetMacro(FeatureEdges, bool);
54 vtkBooleanMacro(FeatureEdges, bool);
56
58
64 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
65 vtkGetMacro(FeatureAngle, double);
67
69
75 vtkSetMacro(NonManifoldEdges, bool);
76 vtkGetMacro(NonManifoldEdges, bool);
77 vtkBooleanMacro(NonManifoldEdges, bool);
79
81
88 vtkSetMacro(ManifoldEdges, bool);
89 vtkGetMacro(ManifoldEdges, bool);
90 vtkBooleanMacro(ManifoldEdges, bool);
92
94
100 vtkSetMacro(Coloring, bool);
101 vtkGetMacro(Coloring, bool);
102 vtkBooleanMacro(Coloring, bool);
104
106
114 vtkSetMacro(MergePoints, bool);
115 vtkGetMacro(MergePoints, bool);
117
118protected:
120 ~vtkFeatureEdgesDispatcher() override = default;
121
124
125private:
127 void operator=(const vtkFeatureEdgesDispatcher&) = delete;
128
129 // PolyData input options
130 double FeatureAngle = 30.0;
131 bool BoundaryEdges = true;
132 bool FeatureEdges = true;
133 bool NonManifoldEdges = true;
134 bool ManifoldEdges = false;
135 bool Coloring = false;
136
137 // HTG options
138 bool MergePoints = false;
139};
140
141VTK_ABI_NAMESPACE_END
142
143#endif
static vtkFeatureEdgesDispatcher * New()
vtkFeatureEdgesDispatcher()=default
~vtkFeatureEdgesDispatcher() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.