VTK
vtkReebGraphSimplificationFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: $RCSfile$
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 =========================================================================*/
25 #ifndef vtkReebGraphSimplificationFilter_h
26 #define vtkReebGraphSimplificationFilter_h
27 
28 #include "vtkFiltersReebGraphModule.h" // For export macro
30 
31 class vtkReebGraph;
33 
34 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSimplificationFilter :
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  vtkSetMacro(SimplificationThreshold, double);
46  vtkGetMacro(SimplificationThreshold, double);
48 
51  void SetSimplificationMetric(vtkReebGraphSimplificationMetric *metric);
52 
54 
55 protected:
58 
60 
62 
63  int FillInputPortInformation(int portNumber, vtkInformation *);
65 
66  int RequestData(vtkInformation *request,
67  vtkInformationVector **inputVector, vtkInformationVector *outputVector);
68 
69 private:
71  void operator=(const vtkReebGraphSimplificationFilter&); // Not implemented.
72 };
73 
74 #endif
Store vtkAlgorithm input/output information.
static vtkDirectedGraphAlgorithm * New()
Reeb graph computation for PL scalar fields.
Definition: vtkReebGraph.h:130
Superclass for algorithms that produce only directed graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Store zero or more vtkInformation instances.
abstract class for custom Reeb graph simplification metric design.
vtkReebGraphSimplificationMetric * SimplificationMetric
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)