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 "vtkDirectedGraphAlgorithm.h" 00032 00033 class vtkReebGraph; 00034 00035 class VTK_GRAPHICS_EXPORT vtkUnstructuredGridToReebGraphFilter : 00036 public vtkDirectedGraphAlgorithm 00037 { 00038 public: 00039 static vtkUnstructuredGridToReebGraphFilter* New(); 00040 vtkTypeMacro(vtkUnstructuredGridToReebGraphFilter, 00041 vtkDirectedGraphAlgorithm); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00045 00046 vtkSetMacro(FieldId, int); 00047 vtkGetMacro(FieldId, int); 00049 00050 vtkReebGraph* GetOutput(); 00051 00052 00053 protected: 00054 vtkUnstructuredGridToReebGraphFilter(); 00055 ~vtkUnstructuredGridToReebGraphFilter(); 00056 00057 int FieldId; 00058 00059 int FillInputPortInformation(int portNumber, vtkInformation *); 00060 int FillOutputPortInformation(int, vtkInformation *); 00061 00062 int RequestData(vtkInformation*, 00063 vtkInformationVector**, 00064 vtkInformationVector*); 00065 00066 private: 00067 vtkUnstructuredGridToReebGraphFilter(const vtkUnstructuredGridToReebGraphFilter&); // Not implemented. 00068 void operator=(const vtkUnstructuredGridToReebGraphFilter&); // Not implemented. 00069 }; 00070 00071 #endif