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 =========================================================================*/ 00038 #ifndef __vtkUnstructuredGridToPolyDataFilter_h 00039 #define __vtkUnstructuredGridToPolyDataFilter_h 00040 00041 #include "vtkPolyDataSource.h" 00042 00043 class vtkUnstructuredGrid; 00044 00045 class VTK_FILTERING_EXPORT vtkUnstructuredGridToPolyDataFilter : public vtkPolyDataSource 00046 { 00047 public: 00048 vtkTypeRevisionMacro(vtkUnstructuredGridToPolyDataFilter,vtkPolyDataSource); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 00052 00053 virtual void SetInput(vtkUnstructuredGrid *input); 00054 vtkUnstructuredGrid *GetInput(); 00056 00058 virtual void ComputeInputUpdateExtents( vtkDataObject *output ); 00059 00060 protected: 00061 vtkUnstructuredGridToPolyDataFilter(); 00062 ~vtkUnstructuredGridToPolyDataFilter(); 00063 00064 virtual int FillInputPortInformation(int, vtkInformation*); 00065 00066 private: 00067 vtkUnstructuredGridToPolyDataFilter(const vtkUnstructuredGridToPolyDataFilter&); // Not implemented. 00068 void operator=(const vtkUnstructuredGridToPolyDataFilter&); // Not implemented. 00069 }; 00070 00071 #endif 00072 00073