GDCM  2.4.5
gdcmImageReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: GDCM (Grassroots DICOM). A DICOM library
4 
5  Copyright (c) 2006-2011 Mathieu Malaterre
6  All rights reserved.
7  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 #ifndef GDCMIMAGEREADER_H
15 #define GDCMIMAGEREADER_H
16 
17 #include "gdcmPixmapReader.h"
18 #include "gdcmImage.h"
19 
20 namespace gdcm
21 {
22 
23 class MediaStorage;
34 {
35 public:
36  ImageReader();
37  virtual ~ImageReader();//needs to be virtual to ensure lack of memory leaks
38 
42 
43  virtual bool Read();
44 
45  // Following methods are valid only after a call to 'Read'
46 
48  const Image& GetImage() const;
49  Image& GetImage();
50  //void SetImage(Image const &img);
51 
52 protected:
53  bool ReadImage(MediaStorage const &ms);
54  bool ReadACRNEMAImage();
55 };
56 
57 } // end namespace gdcm
58 
59 #endif //GDCMIMAGEREADER_H
ImageReader.
Definition: gdcmImageReader.h:33
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
PixmapReader.
Definition: gdcmPixmapReader.h:39
Image This is the container for an Image in the general sense. From this container you should be able...
Definition: gdcmImage.h:46
Definition: gdcmASN1.h:20
MediaStorage.
Definition: gdcmMediaStorage.h:43

Generated on Fri Sep 25 2015 17:58:23 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo