VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkReebGraphToJoinSplitTreeFilter.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 =========================================================================*/
34 #ifndef __vtkReebGraphToJoinSplitTreeFilter_h
35 #define __vtkReebGraphToJoinSplitTreeFilter_h
36 
37 #include "vtkFiltersReebGraphModule.h" // For export macro
38 #include "vtkDirectedGraphAlgorithm.h"
39 
40 class vtkReebGraph;
41 
42 class VTKFILTERSREEBGRAPH_EXPORT vtkReebGraphToJoinSplitTreeFilter :
43  public vtkDirectedGraphAlgorithm
44 {
45 public:
48  vtkDirectedGraphAlgorithm);
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
54  vtkSetMacro(IsSplitTree, bool);
55  vtkGetMacro(IsSplitTree, bool);
57 
59 
60  vtkSetMacro(FieldId, vtkIdType);
61  vtkGetMacro(FieldId, vtkIdType);
63 
64  vtkReebGraph* GetOutput();
65 
66 protected:
69 
71 
72  vtkIdType FieldId;
73 
74  int FillInputPortInformation(int portNumber, vtkInformation *);
75  int FillOutputPortInformation(int, vtkInformation *);
76 
77  int RequestData(vtkInformation *request,
78  vtkInformationVector **inputVector, vtkInformationVector *outputVector);
79 
80 private:
82  void operator=(const vtkReebGraphToJoinSplitTreeFilter&); // Not implemented.
83 };
84 
85 #endif
converts a given Reeb graph either to a join tree or a split tree (respectively the connectivity of t...