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 "vtkParaViewDeprecation.h" // For PARAVIEW_DEPRECATED_IN_6_2_0
16 #include "vtkPolyDataAlgorithm.h"
17 
19  "Use vtkGeometryFilterDispatcher instead") VTKPVVTKEXTENSIONSCORE_EXPORT vtkPVFeatureEdges
20  : public vtkPolyDataAlgorithm
21 {
22 
23 public:
24  static vtkPVFeatureEdges* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
29 
33  vtkSetMacro(BoundaryEdges, bool);
34  vtkGetMacro(BoundaryEdges, bool);
35  vtkBooleanMacro(BoundaryEdges, bool);
37 
39 
45  vtkSetMacro(FeatureEdges, bool);
46  vtkGetMacro(FeatureEdges, bool);
47  vtkBooleanMacro(FeatureEdges, bool);
49 
51 
57  vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
58  vtkGetMacro(FeatureAngle, double);
60 
62 
68  vtkSetMacro(NonManifoldEdges, bool);
69  vtkGetMacro(NonManifoldEdges, bool);
70  vtkBooleanMacro(NonManifoldEdges, bool);
72 
74 
81  vtkSetMacro(ManifoldEdges, bool);
82  vtkGetMacro(ManifoldEdges, bool);
83  vtkBooleanMacro(ManifoldEdges, bool);
85 
87 
93  vtkSetMacro(Coloring, bool);
94  vtkGetMacro(Coloring, bool);
95  vtkBooleanMacro(Coloring, bool);
97 
99 
107  vtkSetMacro(MergePoints, bool);
108  vtkGetMacro(MergePoints, bool);
110 
111 protected:
112  vtkPVFeatureEdges() = default;
113  ~vtkPVFeatureEdges() override = default;
114 
116  int FillInputPortInformation(int, vtkInformation*) override;
117 
118 private:
119  vtkPVFeatureEdges(const vtkPVFeatureEdges&) = delete;
120  void operator=(const vtkPVFeatureEdges&) = delete;
121 
122  // PolyData input options
123  double FeatureAngle = 30.0;
124  bool BoundaryEdges = true;
125  bool FeatureEdges = true;
126  bool NonManifoldEdges = true;
127  bool ManifoldEdges = false;
128  bool Coloring = false;
129 
130  // HTG options
131  bool MergePoints = false;
132 };
133 
134 #endif
#define PARAVIEW_DEPRECATED_IN_6_2_0(reason)
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 &)