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

vtkStructuredGridReader.h

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