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

Filtering/vtkDataSetToDataSetFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataSetToDataSetFilter.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 =========================================================================*/
00040 #ifndef __vtkDataSetToDataSetFilter_h
00041 #define __vtkDataSetToDataSetFilter_h
00042 
00043 #include "vtkDataSetSource.h"
00044 
00045 class vtkDataSet;
00046 class vtkPolyData;
00047 class vtkRectilinearGrid;
00048 class vtkStructuredGrid;
00049 class vtkStructuredPoints;
00050 class vtkUnstructuredGrid;
00051 
00052 class VTK_FILTERING_EXPORT vtkDataSetToDataSetFilter : public vtkDataSetSource
00053 {
00054 
00055 public:
00056   vtkTypeRevisionMacro(vtkDataSetToDataSetFilter,vtkDataSetSource);
00057   void PrintSelf(ostream& os, vtkIndent indent);
00058 
00060   void SetInput(vtkDataSet *input);
00061 
00063 
00065   vtkDataSet *GetOutput();
00066   vtkDataSet *GetOutput(int idx);
00068 
00070   vtkPolyData *GetPolyDataOutput();
00071 
00073   vtkStructuredPoints *GetStructuredPointsOutput();
00074 
00076   vtkStructuredGrid *GetStructuredGridOutput();
00077 
00079   vtkUnstructuredGrid *GetUnstructuredGridOutput();
00080 
00082   vtkRectilinearGrid *GetRectilinearGridOutput();
00083   
00085   vtkDataSet *GetInput();
00086 
00088   virtual void ComputeInputUpdateExtents( vtkDataObject *output );
00089 
00090 protected:
00091   vtkDataSetToDataSetFilter();
00092   ~vtkDataSetToDataSetFilter();
00093 
00094   void ExecuteInformation();
00095 
00096 private:
00097   vtkDataSetToDataSetFilter(const vtkDataSetToDataSetFilter&);  // Not implemented.
00098   void operator=(const vtkDataSetToDataSetFilter&);  // Not implemented.
00099 };
00100 
00101 #endif
00102 
00103 
00104