00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkUnstructuredGridToPolyDataFilter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00041 #ifndef __vtkUnstructuredGridToPolyDataFilter_h 00042 #define __vtkUnstructuredGridToPolyDataFilter_h 00043 00044 #include "vtkPolyDataSource.h" 00045 00046 class vtkUnstructuredGrid; 00047 00048 class VTK_FILTERING_EXPORT vtkUnstructuredGridToPolyDataFilter : public vtkPolyDataSource 00049 { 00050 public: 00051 vtkTypeRevisionMacro(vtkUnstructuredGridToPolyDataFilter,vtkPolyDataSource); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00055 00056 virtual void SetInput(vtkUnstructuredGrid *input); 00057 vtkUnstructuredGrid *GetInput(); 00059 00061 virtual void ComputeInputUpdateExtents( vtkDataObject *output ); 00062 00063 protected: 00064 vtkUnstructuredGridToPolyDataFilter() {this->NumberOfRequiredInputs = 1;} 00065 ~vtkUnstructuredGridToPolyDataFilter() {} 00066 00067 00068 private: 00069 vtkUnstructuredGridToPolyDataFilter(const vtkUnstructuredGridToPolyDataFilter&); // Not implemented. 00070 void operator=(const vtkUnstructuredGridToPolyDataFilter&); // Not implemented. 00071 }; 00072 00073 #endif 00074 00075