00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkGenericDataSetToPolyDataFilter.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 =========================================================================*/ 00043 #ifndef __vtkGenericDataSetToPolyDataFilter_h 00044 #define __vtkGenericDataSetToPolyDataFilter_h 00045 00046 #include "vtkPolyDataSource.h" 00047 00048 class vtkGenericDataSet; 00049 00050 class VTK_FILTERING_EXPORT vtkGenericDataSetToPolyDataFilter : public vtkPolyDataSource 00051 { 00052 public: 00053 vtkTypeRevisionMacro(vtkGenericDataSetToPolyDataFilter,vtkPolyDataSource); 00054 void PrintSelf(ostream& os, vtkIndent indent); 00055 00057 00058 virtual void SetInput(vtkGenericDataSet *input); 00059 vtkGenericDataSet *GetInput(); 00061 00063 virtual void ComputeInputUpdateExtents( vtkDataObject *output ); 00064 00065 protected: 00066 vtkGenericDataSetToPolyDataFilter(); 00067 ~vtkGenericDataSetToPolyDataFilter() {}; 00068 virtual int FillInputPortInformation(int, vtkInformation*); 00069 00070 00071 private: 00072 vtkGenericDataSetToPolyDataFilter(const vtkGenericDataSetToPolyDataFilter&); // Not implemented 00073 void operator=(const vtkGenericDataSetToPolyDataFilter&); // Not implemented 00074 }; 00075 00076 #endif