VTK  9.2.6
vtkReebGraphSimplificationFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkReebGraphSimplificationFilter.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
26#ifndef vtkReebGraphSimplificationFilter_h
27#define vtkReebGraphSimplificationFilter_h
28
30#include "vtkFiltersReebGraphModule.h" // For export macro
31
32class vtkReebGraph;
34
35class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSimplificationFilter : public vtkDirectedGraphAlgorithm
36{
37public:
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
47 vtkSetMacro(SimplificationThreshold, double);
48 vtkGetMacro(SimplificationThreshold, double);
50
56
58
59protected:
62
64
66
67 int FillInputPortInformation(int portNumber, vtkInformation*) override;
69
70 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
71 vtkInformationVector* outputVector) override;
72
73private:
75 void operator=(const vtkReebGraphSimplificationFilter&) = delete;
76};
77
78#endif
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition vtkIndent.h:40
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.