gdcmImageReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program: GDCM (Grassroots DICOM). A DICOM library
00004   Module:  $URL$
00005 
00006   Copyright (c) 2006-2009 Mathieu Malaterre
00007   All rights reserved.
00008   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html 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 =========================================================================*/
00015 #ifndef __gdcmImageReader_h
00016 #define __gdcmImageReader_h
00017 
00018 #include "gdcmPixmapReader.h"
00019 #include "gdcmImage.h"
00020 
00021 namespace gdcm
00022 {
00023 
00024 class MediaStorage;
00035 class GDCM_EXPORT ImageReader : public PixmapReader
00036 {
00037 public:
00038   ImageReader();
00039   ~ImageReader();
00040 
00044   
00045   bool Read();
00046 
00047   // Following methods are valid only after a call to 'Read'
00048 
00050   const Image& GetImage() const;
00051   Image& GetImage();
00052   //void SetImage(Image const &img);
00053 
00054 protected:
00055   bool ReadImage(MediaStorage const &ms);
00056   bool ReadACRNEMAImage();
00057 };
00058 
00059 } // end namespace gdcm
00060 
00061 #endif //__gdcmImageReader_h
00062 

Generated on Thu Jul 1 06:40:24 2010 for GDCM by doxygen 1.6.3
SourceForge.net Logo