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

vtkRectilinearGridReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkRectilinearGridReader.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 =========================================================================*/
00045 #ifndef __vtkRectilinearGridReader_h
00046 #define __vtkRectilinearGridReader_h
00047 
00048 #include "vtkDataReader.h"
00049 
00050 class vtkRectilinearGrid;
00051 
00052 class VTK_IO_EXPORT vtkRectilinearGridReader : public vtkDataReader
00053 {
00054 public:
00055   static vtkRectilinearGridReader *New();
00056   vtkTypeRevisionMacro(vtkRectilinearGridReader,vtkDataReader);
00057   void PrintSelf(ostream& os, vtkIndent indent);
00058 
00060 
00061   vtkRectilinearGrid *GetOutput();
00062   vtkRectilinearGrid *GetOutput(int idx)
00063     {return (vtkRectilinearGrid *) this->vtkSource::GetOutput(idx); };
00064   void SetOutput(vtkRectilinearGrid *output);
00066 
00067 protected:
00068   vtkRectilinearGridReader();
00069   ~vtkRectilinearGridReader();
00070 
00071   void Execute();
00072   void ExecuteInformation();
00073 
00074   virtual int FillOutputPortInformation(int, vtkInformation*);
00075 private:
00076   vtkRectilinearGridReader(const vtkRectilinearGridReader&);  // Not implemented.
00077   void operator=(const vtkRectilinearGridReader&);  // Not implemented.
00078 };
00079 
00080 #endif
00081 
00082