9 #include "fwGdcmIO/reader/iod/InformationObjectDefinition.hpp" 11 #include <fwLog/Logger.hpp> 25 typedef std::map< SPTR(::fwGdcmIO::container::DicomInstance), ::fwMedData::Series::sptr > SeriesContainerMapType;
27 typedef std::function< void (std::uint64_t) > ProgressCallback;
28 typedef std::function< bool () > CancelRequestedCallback;
34 FWGDCMIO_API ~Series();
40 FWGDCMIO_API ::fwMedData::Series::sptr read(const ::fwMedData::DicomSeries::csptr& dicomSeries)
61 m_progressCallback = callback;
69 m_cancelRequestedCallback = callback;
75 m_enableBufferRotation = enabled;
82 const ::fwMedData::DicomSeries::csptr& dicomSeries);
86 const ::fwMedData::DicomSeries::csptr& dicomSeries);
void setBufferRotationEnabled(bool enabled)
Enable buffer rotation.
::fwLog::Logger::sptr m_logger
Logger.
This class defines a DICOM SOP instance. It is useful during the whole writing process. This class allows to share data between module writers.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
ProgressCallback m_progressCallback
Progress callback for jobs.
Implements a failed exception class for fwGdcmIO.
const ::fwLog::Logger::sptr & getLogger() const
Get Logger.
void setCancelRequestedCallback(CancelRequestedCallback callback)
Set cancel callback.
void setProgressCallback(ProgressCallback callback)
Set progress callback.
void setLogger(const ::fwLog::Logger::sptr &logger)
Set Logger.
bool m_enableBufferRotation
Enable buffer rotation.
CancelRequestedCallback m_cancelRequestedCallback
Cancel information for jobs.
SeriesContainerMapType m_seriesContainerMap
Series Container Map.
Series class used to read Series.