00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkDataSetToDataSetFilter.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 =========================================================================*/ 00056 #ifndef __vtkDataSetToDataSetFilter_h 00057 #define __vtkDataSetToDataSetFilter_h 00058 00059 #include "vtkDataSetSource.h" 00060 00061 class vtkDataSet; 00062 class vtkPolyData; 00063 class vtkRectilinearGrid; 00064 class vtkStructuredGrid; 00065 class vtkStructuredPoints; 00066 class vtkUnstructuredGrid; 00067 00068 class VTK_FILTERING_EXPORT vtkDataSetToDataSetFilter : public vtkDataSetSource 00069 { 00070 00071 public: 00072 vtkTypeRevisionMacro(vtkDataSetToDataSetFilter,vtkDataSetSource); 00073 void PrintSelf(ostream& os, vtkIndent indent); 00074 00076 void SetInput(vtkDataSet *input); 00077 00079 00081 vtkDataSet *GetOutput(); 00082 vtkDataSet *GetOutput(int idx); 00084 00086 vtkPolyData *GetPolyDataOutput(); 00087 00089 vtkStructuredPoints *GetStructuredPointsOutput(); 00090 00092 vtkStructuredGrid *GetStructuredGridOutput(); 00093 00095 vtkUnstructuredGrid *GetUnstructuredGridOutput(); 00096 00098 vtkRectilinearGrid *GetRectilinearGridOutput(); 00099 00101 vtkDataSet *GetInput(); 00102 00104 virtual void ComputeInputUpdateExtents( vtkDataObject *output ); 00105 00106 protected: 00107 vtkDataSetToDataSetFilter(); 00108 ~vtkDataSetToDataSetFilter(); 00109 00110 void ExecuteInformation(); 00111 00112 private: 00113 vtkDataSetToDataSetFilter(const vtkDataSetToDataSetFilter&); // Not implemented. 00114 void operator=(const vtkDataSetToDataSetFilter&); // Not implemented. 00115 }; 00116 00117 #endif 00118 00119 00120