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

# IO/vtkRectilinearGridReader.h

Go to the documentation of this file.

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