VTK
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 =========================================================================*/
23 #ifndef vtkReebGraphSimplificationFilter_h
24 #define vtkReebGraphSimplificationFilter_h
25 
26 #include "vtkFiltersReebGraphModule.h" // For export macro
28 
29 class vtkReebGraph;
31 
32 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSimplificationFilter :
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
41 
45  vtkSetMacro(SimplificationThreshold, double);
46  vtkGetMacro(SimplificationThreshold, double);
48 
53  void SetSimplificationMetric(vtkReebGraphSimplificationMetric *metric);
54 
56 
57 protected:
60 
62 
64 
65  int FillInputPortInformation(int portNumber, vtkInformation *) override;
66  int FillOutputPortInformation(int, vtkInformation *) override;
67 
68  int RequestData(vtkInformation *request,
69  vtkInformationVector **inputVector, vtkInformationVector *outputVector) override;
70 
71 private:
73  void operator=(const vtkReebGraphSimplificationFilter&) = delete;
74 };
75 
76 #endif
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
Store vtkAlgorithm input/output information.
static vtkDirectedGraphAlgorithm * New()
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:131
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
abstract class for custom Reeb graph simplification metric design.
vtkDirectedGraph * GetOutput()
Get the output data object for a port on this algorithm.
vtkReebGraphSimplificationMetric * SimplificationMetric
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.