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

vtkDataSetReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDataSetReader.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 =========================================================================*/
00039 #ifndef __vtkDataSetReader_h
00040 #define __vtkDataSetReader_h
00041 
00042 #include "vtkDataReader.h"
00043 
00044 class vtkDataSet;
00045 class vtkPolyData;
00046 class vtkRectilinearGrid;
00047 class vtkStructuredGrid;
00048 class vtkStructuredPoints;
00049 class vtkUnstructuredGrid;
00050 
00051 class VTK_IO_EXPORT vtkDataSetReader : public vtkDataReader
00052 {
00053 public:
00054   static vtkDataSetReader *New();
00055   vtkTypeRevisionMacro(vtkDataSetReader,vtkDataReader);
00056   void PrintSelf(ostream& os, vtkIndent indent);
00057 
00059 
00060   vtkDataSet *GetOutput();
00061   vtkDataSet *GetOutput(int idx);
00063 
00065 
00070   vtkPolyData *GetPolyDataOutput();
00071   vtkStructuredPoints *GetStructuredPointsOutput();
00072   vtkStructuredGrid *GetStructuredGridOutput();
00073   vtkUnstructuredGrid *GetUnstructuredGridOutput();
00074   vtkRectilinearGrid *GetRectilinearGridOutput();
00076 
00079   virtual int ReadOutputType();
00080 
00081 protected:
00082   vtkDataSetReader();
00083   ~vtkDataSetReader();
00084 
00085   virtual int ProcessRequest(vtkInformation *, vtkInformationVector **,
00086                              vtkInformationVector *);
00087   virtual int RequestData(vtkInformation *, vtkInformationVector **,
00088                           vtkInformationVector *);
00089   virtual int RequestDataObject(vtkInformation *, vtkInformationVector **,
00090                                 vtkInformationVector *);
00091   virtual int FillOutputPortInformation(int, vtkInformation *);
00092   virtual int RequestInformation(vtkInformation *, vtkInformationVector **,
00093                                  vtkInformationVector *);
00094 
00095 private:
00096   vtkDataSetReader(const vtkDataSetReader&);  // Not implemented.
00097   void operator=(const vtkDataSetReader&);  // Not implemented.
00098 };
00099 
00100 #endif
00101 
00102 

Generated on Mon Jan 21 23:07:31 2008 for VTK by  doxygen 1.4.3-20050530