GDCM  2.4.5
gdcmPixmapReader.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 GDCMPIXMAPREADER_H
15 #define GDCMPIXMAPREADER_H
16 
17 #include "gdcmReader.h"
18 #include "gdcmPixmap.h"
19 
20 namespace gdcm
21 {
22 
23 class ByteValue;
24 class MediaStorage;
40 {
41 public:
42  PixmapReader();
43  virtual ~PixmapReader(); //needs to be virtual to ensure lack of memory leaks
44 
48 
49  virtual bool Read();
50 
51  // Following methods are valid only after a call to 'Read'
52 
54  const Pixmap& GetPixmap() const;
55  Pixmap& GetPixmap();
56  //void SetPixamp(Pixmap const &pix);
57 
58 protected:
59  bool ReadImageInternal(MediaStorage const &ms, bool handlepixeldata = true);
60  virtual bool ReadImage(MediaStorage const &ms);
61  virtual bool ReadACRNEMAImage();
62 
64 };
65 
71 } // end namespace gdcm
72 
73 #endif //GDCMPIXMAPREADER_H
Pixmap class A bitmap based image. Used as parent for both IconImage and the main Pixel Data Image It...
Definition: gdcmPixmap.h:32
SmartPointer< Pixmap > PixelData
Definition: gdcmPixmapReader.h:63
Reader ala DOM (Document Object Model)
Definition: gdcmReader.h:53
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
Class for Smart Pointer.
Definition: gdcmObject.h:26
PixmapReader.
Definition: gdcmPixmapReader.h:39
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