VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkUnstructuredGridToReebGraphFilter.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 =========================================================================*/
28 #ifndef __vtkUnstructuredGridToReebGraphFilter_h
29 #define __vtkUnstructuredGridToReebGraphFilter_h
30 
31 #include "vtkFiltersReebGraphModule.h" // For export macro
32 #include "vtkDirectedGraphAlgorithm.h"
33 
34 class vtkReebGraph;
35 
36 class VTKFILTERSREEBGRAPH_EXPORT vtkUnstructuredGridToReebGraphFilter :
37  public vtkDirectedGraphAlgorithm
38 {
39 public:
42  vtkDirectedGraphAlgorithm);
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
47  vtkSetMacro(FieldId, int);
48  vtkGetMacro(FieldId, int);
50 
51  vtkReebGraph* GetOutput();
52 
53 
54 protected:
57 
58  int FieldId;
59 
60  int FillInputPortInformation(int portNumber, vtkInformation *);
61  int FillOutputPortInformation(int, vtkInformation *);
62 
63  int RequestData(vtkInformation*,
64  vtkInformationVector**,
65  vtkInformationVector*);
66 
67 private:
69  void operator=(const vtkUnstructuredGridToReebGraphFilter&); // Not implemented.
70 };
71 
72 #endif
generate a Reeb graph from a scalar field defined on a vtkUnstructuredGrid.