7 #ifndef __VTKGDCMIO_HELPER_IMAGEDICOMSTREAM_HPP__ 8 #define __VTKGDCMIO_HELPER_IMAGEDICOMSTREAM_HPP__ 12 #include <boost/iostreams/stream.hpp> 14 #include <vtkSmartPointer.h> 15 #include <vtkGDCMImageReader.h> 17 #include <fwCore/base.hpp> 19 #include <fwMemory/stream/in/IFactory.hpp> 21 #include "vtkGdcmIO/config.hpp" 36 typedef std::vector< std::string > SeriesFilesType;
54 typedef char char_type;
56 typedef ::boost::iostreams::source_tag category;
62 std::streamsize read(
char* s, std::streamsize n);
73 ImageDicomInfo::sptr m_dcmInfo;
79 vtkSmartPointer< vtkGDCMImageReader > m_reader;
102 SPTR(std::istream)
get();
113 #endif // __VTKGDCMIO_HELPER_IMAGEDICOMSTREAM_HPP__
size_t m_buffSizeInBytes
Size of image buffer in bytes.
Class to perform a lazy reading on dicom image with fw4spl system.
vtkmGdcm reader/writer lib
SeriesFilesType m_seriesFiles
Dicom files that represents an image series.
Class used to build an std::istream thanks to ::boost::iostreams api.
ImageDicomInfo::sptr m_dcmInfo
To conserve dicom information.
Basic class to store some information to read an dicom image.