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

IO/vtkStructuredGridReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkStructuredGridReader.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00040 #ifndef __vtkStructuredGridReader_h
00041 #define __vtkStructuredGridReader_h
00042 
00043 #include "vtkDataReader.h"
00044 
00045 class vtkStructuredGrid;
00046 
00047 class VTK_IO_EXPORT vtkStructuredGridReader : public vtkDataReader
00048 {
00049 public:
00050   static vtkStructuredGridReader *New();
00051   vtkTypeRevisionMacro(vtkStructuredGridReader,vtkDataReader);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00056   vtkStructuredGrid *GetOutput();
00057   vtkStructuredGrid *GetOutput(int idx)
00058     {return (vtkStructuredGrid *) this->vtkSource::GetOutput(idx); };
00059   void SetOutput(vtkStructuredGrid *output);  
00061 
00062 protected:
00063   vtkStructuredGridReader();
00064   ~vtkStructuredGridReader();
00065 
00066   void ExecuteInformation();
00067   void Execute();
00068 
00069 private:
00070   vtkStructuredGridReader(const vtkStructuredGridReader&);  // Not implemented.
00071   void operator=(const vtkStructuredGridReader&);  // Not implemented.
00072 };
00073 
00074 #endif
00075 
00076