VTK  9.4.20250209
vtkReebGraphSimplificationFilter.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
14#ifndef vtkReebGraphSimplificationFilter_h
15#define vtkReebGraphSimplificationFilter_h
16
18#include "vtkFiltersReebGraphModule.h" // For export macro
19
20VTK_ABI_NAMESPACE_BEGIN
21class vtkReebGraph;
23
24class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSimplificationFilter : public vtkDirectedGraphAlgorithm
25{
26public:
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
32
36 vtkSetMacro(SimplificationThreshold, double);
37 vtkGetMacro(SimplificationThreshold, double);
39
45
47
48protected:
51
53
55
56 int FillInputPortInformation(int portNumber, vtkInformation*) override;
58
59 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
60 vtkInformationVector* outputVector) override;
61
62private:
64 void operator=(const vtkReebGraphSimplificationFilter&) = delete;
65};
66
67VTK_ABI_NAMESPACE_END
68#endif
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkReebGraphSimplificationMetric * SimplificationMetric
int FillInputPortInformation(int portNumber, vtkInformation *) override
Fill the input port information objects for this algorithm.
void SetSimplificationMetric(vtkReebGraphSimplificationMetric *metric)
Set the persistence metric evaluation code Default value: nullptr (standard topological persistence).
static vtkReebGraphSimplificationFilter * New()
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output 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.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
abstract class for custom Reeb graph simplification metric design.
Reeb graph computation for PL scalar fields.