Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Filtering/vtkDataSetToDataSetFilter.h

Go to the documentation of this file.
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 =========================================================================*/
00044 #ifndef __vtkDataSetToDataSetFilter_h
00045 #define __vtkDataSetToDataSetFilter_h
00046 
00047 #include "vtkDataSetSource.h"
00048 
00049 class vtkDataSet;
00050 class vtkPolyData;
00051 class vtkRectilinearGrid;
00052 class vtkStructuredGrid;
00053 class vtkStructuredPoints;
00054 class vtkUnstructuredGrid;
00055 
00056 class VTK_FILTERING_EXPORT vtkDataSetToDataSetFilter : public vtkDataSetSource
00057 {
00058 
00059 public:
00060   vtkTypeRevisionMacro(vtkDataSetToDataSetFilter,vtkDataSetSource);
00061   void PrintSelf(ostream& os, vtkIndent indent);
00062 
00064   void SetInput(vtkDataSet *input);
00065 
00067 
00069   vtkDataSet *GetOutput();
00070   vtkDataSet *GetOutput(int idx);
00072 
00074   vtkPolyData *GetPolyDataOutput();
00075 
00077   vtkStructuredPoints *GetStructuredPointsOutput();
00078 
00080   vtkStructuredGrid *GetStructuredGridOutput();
00081 
00083   vtkUnstructuredGrid *GetUnstructuredGridOutput();
00084 
00086   vtkRectilinearGrid *GetRectilinearGridOutput();
00087   
00089   vtkDataSet *GetInput();
00090 
00092   virtual void ComputeInputUpdateExtents( vtkDataObject *output );
00093 
00094 protected:
00095   vtkDataSetToDataSetFilter();
00096   ~vtkDataSetToDataSetFilter();
00097 
00098   void ExecuteInformation();
00099 
00100 private:
00101   vtkDataSetToDataSetFilter(const vtkDataSetToDataSetFilter&);  // Not implemented.
00102   void operator=(const vtkDataSetToDataSetFilter&);  // Not implemented.
00103 };
00104 
00105 #endif
00106 
00107 
00108