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 =========================================================================*/ 00055 #ifndef __vtkPointSetToPointSetFilter_h 00056 #define __vtkPointSetToPointSetFilter_h 00057 00058 #include "vtkPointSetSource.h" 00059 00060 class vtkPolyData; 00061 class vtkStructuredGrid; 00062 class vtkUnstructuredGrid; 00063 00064 class VTK_FILTERING_EXPORT vtkPointSetToPointSetFilter : public vtkPointSetSource 00065 { 00066 public: 00067 vtkTypeRevisionMacro(vtkPointSetToPointSetFilter,vtkPointSetSource); 00068 void PrintSelf(ostream& os, vtkIndent indent); 00069 00071 void SetInput(vtkPointSet *input); 00072 00074 vtkPointSet *GetInput(); 00075 00077 00079 vtkPointSet *GetOutput(); 00080 vtkPointSet *GetOutput(int idx) 00081 {return (vtkPointSet *) this->vtkPointSetSource::GetOutput(idx); }; 00083 00085 vtkPolyData *GetPolyDataOutput(); 00086 00088 vtkStructuredGrid *GetStructuredGridOutput(); 00089 00091 vtkUnstructuredGrid *GetUnstructuredGridOutput(); 00092 00094 virtual void ComputeInputUpdateExtents( vtkDataObject *output ); 00095 00096 protected: 00097 vtkPointSetToPointSetFilter(); 00098 ~vtkPointSetToPointSetFilter(); 00099 00100 private: 00101 vtkPointSetToPointSetFilter(const vtkPointSetToPointSetFilter&); // Not implemented. 00102 void operator=(const vtkPointSetToPointSetFilter&); // Not implemented. 00103 }; 00104 00105 #endif 00106 00107