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
vtkDirectedGraphAlgorithm
Superclass for algorithms that produce only directed graph as output.
Definition: vtkDirectedGraphAlgorithm.h:52
vtkDirectedGraphAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDirectedGraphAlgorithm::New
static vtkDirectedGraphAlgorithm * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkDirectedGraphAlgorithm::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkReebGraphSimplificationFilter::SimplificationThreshold
double SimplificationThreshold
Definition: vtkReebGraphSimplificationFilter.h:64
vtkReebGraphSimplificationFilter
simplify an input Reeb graph.
Definition: vtkReebGraphSimplificationFilter.h:35
vtkReebGraphSimplificationMetric
abstract class for custom Reeb graph simplification metric design.
Definition: vtkReebGraphSimplificationMetric.h:59
vtkReebGraph
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:134
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkReebGraphSimplificationFilter::SimplificationMetric
vtkReebGraphSimplificationMetric * SimplificationMetric
Definition: vtkReebGraphSimplificationFilter.h:66
vtkDirectedGraphAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:70
vtkDirectedGraphAlgorithm.h
vtkDirectedGraphAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkDirectedGraphAlgorithm::GetOutput
vtkDirectedGraph * GetOutput()
Get the output data object for a port on this algorithm.
Definition: vtkDirectedGraphAlgorithm.h:69