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