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