vtkPVFeatureEdges.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkPVFeatureEdges_h
12 #define vtkPVFeatureEdges_h
13 
14 #include "vtkPVVTKExtensionsCoreModule.h" // needed for export macro
15 #include "vtkPolyDataAlgorithm.h"
16 
18 {
19 
20 public:
21  static vtkPVFeatureEdges* New();
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
26 
30  vtkSetMacro(BoundaryEdges, bool);
31  vtkGetMacro(BoundaryEdges, bool);
32  vtkBooleanMacro(BoundaryEdges, bool);
34 
36 
42  vtkSetMacro(FeatureEdges, bool);
43  vtkGetMacro(FeatureEdges, bool);
44  vtkBooleanMacro(FeatureEdges, bool);
46 
48 
54  vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
55  vtkGetMacro(FeatureAngle, double);
57 
59 
65  vtkSetMacro(NonManifoldEdges, bool);
66  vtkGetMacro(NonManifoldEdges, bool);
67  vtkBooleanMacro(NonManifoldEdges, bool);
69 
71 
78  vtkSetMacro(ManifoldEdges, bool);
79  vtkGetMacro(ManifoldEdges, bool);
80  vtkBooleanMacro(ManifoldEdges, bool);
82 
84 
90  vtkSetMacro(Coloring, bool);
91  vtkGetMacro(Coloring, bool);
92  vtkBooleanMacro(Coloring, bool);
94 
96 
104  vtkSetMacro(MergePoints, bool);
105  vtkGetMacro(MergePoints, bool);
107 
108 protected:
109  vtkPVFeatureEdges() = default;
110  ~vtkPVFeatureEdges() override = default;
111 
113  int FillInputPortInformation(int, vtkInformation*) override;
114 
115 private:
116  vtkPVFeatureEdges(const vtkPVFeatureEdges&) = delete;
117  void operator=(const vtkPVFeatureEdges&) = delete;
118 
119  // PolyData input options
120  double FeatureAngle = 30.0;
121  bool BoundaryEdges = true;
122  bool FeatureEdges = true;
123  bool NonManifoldEdges = true;
124  bool ManifoldEdges = false;
125  bool Coloring = false;
126 
127  // HTG options
128  bool MergePoints = false;
129 };
130 
131 #endif
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKPVVTKEXTENSIONSCORE_EXPORT
Feature Edges filter that delegates to type specific implementations.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkPolyDataAlgorithm * New()
void operator=(const vtkObjectBase &)