VTK  9.7.1
vtkSplitSharpEdgesPolyData.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
11 #ifndef vtkSplitSharpEdgesPolyData_h
12 #define vtkSplitSharpEdgesPolyData_h
13 
14 #include "vtkFiltersCoreModule.h" // For export macro
15 #include "vtkPolyDataAlgorithm.h"
16 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
17 
18 VTK_ABI_NAMESPACE_BEGIN
20 {
21 public:
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
27 
34  vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
35  vtkGetMacro(FeatureAngle, double);
37 
39 
46  vtkSetClampMacro(OutputPointsPrecision, int, SINGLE_PRECISION, DEFAULT_PRECISION);
47  vtkGetMacro(OutputPointsPrecision, int);
49 
50 protected:
52  ~vtkSplitSharpEdgesPolyData() override;
53 
55 
56 private:
58  void operator=(const vtkSplitSharpEdgesPolyData&) = delete;
59 
60  struct MarkAndSplitFunctor;
61 
62  double FeatureAngle;
63  int OutputPointsPrecision;
64 };
65 VTK_ABI_NAMESPACE_END
66 
67 #endif // vtkSplitSharpEdgesPolyData_h
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
Split sharp edges in a polygonal mesh.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.