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