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

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 =========================================================================*/
00054 #ifndef __vtkDataSetToDataSetFilter_h
00055 #define __vtkDataSetToDataSetFilter_h
00056 
00057 #include "vtkDataSetSource.h"
00058 
00059 class vtkDataSet;
00060 class vtkPolyData;
00061 class vtkRectilinearGrid;
00062 class vtkStructuredGrid;
00063 class vtkStructuredPoints;
00064 class vtkUnstructuredGrid;
00065 
00066 class VTK_FILTERING_EXPORT vtkDataSetToDataSetFilter : public vtkDataSetSource
00067 {
00068 
00069 public:
00070   vtkTypeRevisionMacro(vtkDataSetToDataSetFilter,vtkDataSetSource);
00071   void PrintSelf(ostream& os, vtkIndent indent);
00072 
00074   void SetInput(vtkDataSet *input);
00075 
00077 
00079   vtkDataSet *GetOutput();
00080   vtkDataSet *GetOutput(int idx);
00082 
00084   virtual vtkPolyData *GetPolyDataOutput();
00085 
00087   virtual vtkStructuredPoints *GetStructuredPointsOutput();
00088 
00090   virtual vtkStructuredGrid *GetStructuredGridOutput();
00091 
00093   virtual vtkUnstructuredGrid *GetUnstructuredGridOutput();
00094 
00096   virtual vtkRectilinearGrid *GetRectilinearGridOutput();
00097   
00099   vtkDataSet *GetInput();
00100 
00102   virtual void ComputeInputUpdateExtents( vtkDataObject *output );
00103 
00104 protected:
00105   vtkDataSetToDataSetFilter();
00106   ~vtkDataSetToDataSetFilter();
00107 
00108   void ExecuteInformation();
00109 
00110   virtual int FillInputPortInformation(int, vtkInformation*);
00111 
00112 private:
00113   vtkDataSetToDataSetFilter(const vtkDataSetToDataSetFilter&);  // Not implemented.
00114   void operator=(const vtkDataSetToDataSetFilter&);  // Not implemented.
00115 };
00116 
00117 #endif
00118 
00119 
00120