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