VTK  9.3.20240418
vtkReebGraphVolumeSkeletonFilter.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
35 #ifndef vtkReebGraphVolumeSkeletonFilter_h
36 #define vtkReebGraphVolumeSkeletonFilter_h
37 
38 #include "vtkDataObjectAlgorithm.h"
39 #include "vtkFiltersReebGraphModule.h" // For export macro
40 
41 VTK_ABI_NAMESPACE_BEGIN
42 class vtkReebGraph;
43 class vtkTable;
44 
45 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphVolumeSkeletonFilter : public vtkDataObjectAlgorithm
46 {
47 public:
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
53 
57  vtkSetMacro(NumberOfSamples, int);
58  vtkGetMacro(NumberOfSamples, int);
60 
62 
66  vtkSetMacro(NumberOfSmoothingIterations, int);
67  vtkGetMacro(NumberOfSmoothingIterations, int);
69 
71 
75  vtkSetMacro(FieldId, vtkIdType);
76  vtkGetMacro(FieldId, vtkIdType);
78 
80 
81 protected:
84 
86  int NumberOfSamples, NumberOfSmoothingIterations;
87 
88  int FillInputPortInformation(int portNumber, vtkInformation*) override;
89  int FillOutputPortInformation(int portNumber, vtkInformation* info) override;
90 
91  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
92  vtkInformationVector* outputVector) override;
93 
94 private:
96  void operator=(const vtkReebGraphVolumeSkeletonFilter&) = delete;
97 };
98 
99 VTK_ABI_NAMESPACE_END
100 #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 tetrahedral mesh (vtkUn...
static vtkReebGraphVolumeSkeletonFilter * New()
int FillInputPortInformation(int portNumber, vtkInformation *) override
Fill the input port information objects for this algorithm.
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
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