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 =========================================================================*/
26 #ifndef vtkReebGraphSimplificationFilter_h
27 #define vtkReebGraphSimplificationFilter_h
28 
29 #include "vtkFiltersReebGraphModule.h" // For export macro
31 
32 class vtkReebGraph;
34 
35 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSimplificationFilter :
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
48  vtkSetMacro(SimplificationThreshold, double);
49  vtkGetMacro(SimplificationThreshold, double);
51 
56  void SetSimplificationMetric(vtkReebGraphSimplificationMetric *metric);
57 
59 
60 protected:
63 
65 
67 
68  int FillInputPortInformation(int portNumber, vtkInformation *) override;
69  int FillOutputPortInformation(int, vtkInformation *) override;
70 
71  int RequestData(vtkInformation *request,
72  vtkInformationVector **inputVector, vtkInformationVector *outputVector) override;
73 
74 private:
76  void operator=(const vtkReebGraphSimplificationFilter&) = delete;
77 };
78 
79 #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:134
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
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.