IO/vtkDataObjectReader.h Source File

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

# IO/vtkDataObjectReader.h

Go to the documentation of this file.

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