Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00053 #ifndef __vtkStructuredGridReader_h
    00054 #define __vtkStructuredGridReader_h
    00055
    00056 #include "vtkDataReader.h"
    00057
    00058 class vtkStructuredGrid;
    00059
    00060 class VTK_IO_EXPORT vtkStructuredGridReader : public vtkDataReader
    00061 {
    00062 public:
    00063   static vtkStructuredGridReader *New();
    00064   vtkTypeRevisionMacro(vtkStructuredGridReader,vtkDataReader);
    00065   void PrintSelf(ostream& os, vtkIndent indent);
    00066
    00068
    00069   vtkStructuredGrid *GetOutput();
    00070   vtkStructuredGrid *GetOutput(int idx)
    00071     {return (vtkStructuredGrid *) this->vtkSource::GetOutput(idx); };
    00072   void SetOutput(vtkStructuredGrid *output);
    00074
    00075 protected:
    00076   vtkStructuredGridReader();
    00077   ~vtkStructuredGridReader();
    00078
    00079   void ExecuteInformation();
    00080   void Execute();
    00081
    00082 private:
    00083   vtkStructuredGridReader(const vtkStructuredGridReader&);  // Not implemented.
    00084   void operator=(const vtkStructuredGridReader&);  // Not implemented.
    00085 };
    00086
    00087 #endif
    00088
    00089