00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPointSetToPointSetFilter.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 __vtkPointSetToPointSetFilter_h 00044 #define __vtkPointSetToPointSetFilter_h 00045 00046 #include "vtkPointSetSource.h" 00047 00048 class vtkPolyData; 00049 class vtkStructuredGrid; 00050 class vtkUnstructuredGrid; 00051 00052 class VTK_FILTERING_EXPORT vtkPointSetToPointSetFilter : public vtkPointSetSource 00053 { 00054 public: 00055 vtkTypeRevisionMacro(vtkPointSetToPointSetFilter,vtkPointSetSource); 00056 void PrintSelf(ostream& os, vtkIndent indent); 00057 00059 void SetInput(vtkPointSet *input); 00060 00062 vtkPointSet *GetInput(); 00063 00065 00067 vtkPointSet *GetOutput(); 00068 vtkPointSet *GetOutput(int idx) 00069 {return (vtkPointSet *) this->vtkPointSetSource::GetOutput(idx); }; 00071 00073 vtkPolyData *GetPolyDataOutput(); 00074 00076 vtkStructuredGrid *GetStructuredGridOutput(); 00077 00079 vtkUnstructuredGrid *GetUnstructuredGridOutput(); 00080 00082 virtual void ComputeInputUpdateExtents( vtkDataObject *output ); 00083 00084 protected: 00085 vtkPointSetToPointSetFilter(); 00086 ~vtkPointSetToPointSetFilter(); 00087 00088 private: 00089 vtkPointSetToPointSetFilter(const vtkPointSetToPointSetFilter&); // Not implemented. 00090 void operator=(const vtkPointSetToPointSetFilter&); // Not implemented. 00091 }; 00092 00093 #endif 00094 00095