1 #ifndef __creaImageIODicomImageReader_h_INCLUDED__
2 #define __creaImageIODicomImageReader_h_INCLUDED__
5 #include <creaImageIOAbstractImageReader.h>
18 //=====================================================================
19 /// Concrete image reader for DICOM images
20 class DicomImageReader : virtual public AbstractImageReader
24 virtual ~DicomImageReader();
26 /// Add file extensions read by the reader
27 virtual void PushBackExtensions(std::vector<std::string>&);
28 /// Test if file is read by this reader
29 virtual bool CanRead(const std::string& filename);
30 /// return for a file a 2D VTkImage
31 virtual vtkImageData* ReadImage(const std::string& filename);
32 /// Read the attributes for a file
33 virtual void ReadAttributes(const std::string& filename,
34 tree::AttributeMapType& attr);
37 vtkGdcmReader* mReader;
39 //=====================================================================
43 } // namespace creaImageIO
47 #endif // #ifndef __creaImageIODicomImageReader_h_INCLUDED__