00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkUnstructuredGridToPolyDataFilter.h,v $ 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 =========================================================================*/ 00026 #ifndef __vtkUnstructuredGridToPolyDataFilter_h 00027 #define __vtkUnstructuredGridToPolyDataFilter_h 00028 00029 #include "vtkPolyDataSource.h" 00030 00031 class vtkUnstructuredGrid; 00032 00033 class VTK_FILTERING_EXPORT vtkUnstructuredGridToPolyDataFilter : public vtkPolyDataSource 00034 { 00035 public: 00036 vtkTypeRevisionMacro(vtkUnstructuredGridToPolyDataFilter,vtkPolyDataSource); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00041 virtual void SetInput(vtkUnstructuredGrid *input); 00042 vtkUnstructuredGrid *GetInput(); 00044 00046 virtual void ComputeInputUpdateExtents( vtkDataObject *output ); 00047 00048 protected: 00049 vtkUnstructuredGridToPolyDataFilter(); 00050 ~vtkUnstructuredGridToPolyDataFilter(); 00051 00052 virtual int FillInputPortInformation(int, vtkInformation*); 00053 00054 private: 00055 vtkUnstructuredGridToPolyDataFilter(const vtkUnstructuredGridToPolyDataFilter&); // Not implemented. 00056 void operator=(const vtkUnstructuredGridToPolyDataFilter&); // Not implemented. 00057 }; 00058 00059 #endif 00060 00061