Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GDCMPIXMAPREADER_H
00016 #define GDCMPIXMAPREADER_H
00017
00018 #include "gdcmReader.h"
00019 #include "gdcmPixmap.h"
00020
00021 namespace gdcm
00022 {
00023
00024 class ByteValue;
00025 class MediaStorage;
00038 class GDCM_EXPORT PixmapReader : public Reader
00039 {
00040 public:
00041 PixmapReader();
00042 ~PixmapReader();
00043
00047
00048 bool Read();
00049
00050
00051
00053 const Pixmap& GetPixmap() const;
00054 Pixmap& GetPixmap();
00055
00056
00057 protected:
00058 const ByteValue* GetPointerFromElement(Tag const &tag) const;
00059 virtual bool ReadImage(MediaStorage const &ms);
00060 virtual bool ReadACRNEMAImage();
00061
00062 SmartPointer<Pixmap> PixelData;
00063 };
00064
00070 }
00071
00072 #endif //GDCMPIXMAPREADER_H
00073