VTK  9.3.20240226
vtkReebGraphSurfaceSkeletonFilter.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
34 #ifndef vtkReebGraphSurfaceSkeletonFilter_h
35 #define vtkReebGraphSurfaceSkeletonFilter_h
36 
37 #include "vtkDataObjectAlgorithm.h"
38 #include "vtkFiltersReebGraphModule.h" // For export macro
39 
40 VTK_ABI_NAMESPACE_BEGIN
41 class vtkReebGraph;
42 class vtkTable;
43 
44 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSurfaceSkeletonFilter : public vtkDataObjectAlgorithm
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52 
56  vtkSetMacro(NumberOfSamples, int);
57  vtkGetMacro(NumberOfSamples, int);
59 
61 
65  vtkSetMacro(NumberOfSmoothingIterations, int);
66  vtkGetMacro(NumberOfSmoothingIterations, int);
68 
70 
74  vtkSetMacro(FieldId, vtkIdType);
75  vtkGetMacro(FieldId, vtkIdType);
77 
79 
80 protected:
83 
85  int NumberOfSamples, NumberOfSmoothingIterations;
86 
87  int FillInputPortInformation(int portNumber, vtkInformation*) override;
88  int FillOutputPortInformation(int portNumber, vtkInformation* info) override;
89 
90  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
91  vtkInformationVector* outputVector) override;
92 
93 private:
95  void operator=(const vtkReebGraphSurfaceSkeletonFilter&) = delete;
96 };
97 
98 VTK_ABI_NAMESPACE_END
99 #endif
Superclass for algorithms that produce only data object as output.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
compute a skeletal embedding of the Reeb graph of a scalar field defined on a triangulated surface (v...
static vtkReebGraphSurfaceSkeletonFilter * New()
int FillOutputPortInformation(int portNumber, vtkInformation *info) override
Fill the output port information objects for this algorithm.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
int FillInputPortInformation(int portNumber, vtkInformation *) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:121
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:168
@ info
Definition: vtkX3D.h:376
int vtkIdType
Definition: vtkType.h:315