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