VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
29 #include "vtkDirectedGraphAlgorithm.h"
30 
31 class vtkReebGraph;
32 class vtkReebGraphSimplificationMetric;
33 
34 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphSimplificationFilter :
35  public vtkDirectedGraphAlgorithm
36 {
37 public:
39  vtkTypeMacro(vtkReebGraphSimplificationFilter, vtkDirectedGraphAlgorithm);
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
45  vtkSetMacro(SimplificationThreshold, double);
46  vtkGetMacro(SimplificationThreshold, double);
48 
51  void SetSimplificationMetric(vtkReebGraphSimplificationMetric *metric);
52 
53  vtkReebGraph* GetOutput();
54 
55 protected:
58 
60 
61  vtkReebGraphSimplificationMetric *SimplificationMetric;
62 
63  int FillInputPortInformation(int portNumber, vtkInformation *);
64  int FillOutputPortInformation(int, 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
vtkReebGraphSimplificationMetric * SimplificationMetric