VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile$ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00028 #ifndef __vtkUnstructuredGridToReebGraphFilter_h 00029 #define __vtkUnstructuredGridToReebGraphFilter_h 00030 00031 #include "vtkFiltersReebGraphModule.h" // For export macro 00032 #include "vtkDirectedGraphAlgorithm.h" 00033 00034 class vtkReebGraph; 00035 00036 class VTKFILTERSREEBGRAPH_EXPORT vtkUnstructuredGridToReebGraphFilter : 00037 public vtkDirectedGraphAlgorithm 00038 { 00039 public: 00040 static vtkUnstructuredGridToReebGraphFilter* New(); 00041 vtkTypeMacro(vtkUnstructuredGridToReebGraphFilter, 00042 vtkDirectedGraphAlgorithm); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00046 00047 vtkSetMacro(FieldId, int); 00048 vtkGetMacro(FieldId, int); 00050 00051 vtkReebGraph* GetOutput(); 00052 00053 00054 protected: 00055 vtkUnstructuredGridToReebGraphFilter(); 00056 ~vtkUnstructuredGridToReebGraphFilter(); 00057 00058 int FieldId; 00059 00060 int FillInputPortInformation(int portNumber, vtkInformation *); 00061 int FillOutputPortInformation(int, vtkInformation *); 00062 00063 int RequestData(vtkInformation*, 00064 vtkInformationVector**, 00065 vtkInformationVector*); 00066 00067 private: 00068 vtkUnstructuredGridToReebGraphFilter(const vtkUnstructuredGridToReebGraphFilter&); // Not implemented. 00069 void operator=(const vtkUnstructuredGridToReebGraphFilter&); // Not implemented. 00070 }; 00071 00072 #endif