fw4spl
|
CTMRImageIOD class used to read CT & MR Image IODs. More...
#include <CTMRImageIOD.hpp>
Public Member Functions | |
FWGDCMIO_API | CTMRImageIOD (const ::fwMedData::DicomSeries::csptr &dicomSeries, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const ::fwLog::Logger::sptr &logger=nullptr, ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
FWGDCMIO_API | ~CTMRImageIOD () |
Destructor. | |
FWGDCMIO_API void | read (::fwMedData::Series::sptr series) throw (::fwGdcmIO::exception::Failed) |
Read a DICOM File. More... | |
void | setBufferRotationEnabled (bool enabled) |
Enable buffer rotation. | |
Public Member Functions inherited from fwGdcmIO::reader::iod::InformationObjectDefinition | |
FWGDCMIO_API | InformationObjectDefinition (const ::fwMedData::DicomSeries::csptr &dicomSeries, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const ::fwLog::Logger::sptr &logger=nullptr, ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~InformationObjectDefinition () |
Destructor. | |
Protected Attributes | |
bool | m_enableBufferRotation |
Enable buffer rotation. | |
Protected Attributes inherited from fwGdcmIO::reader::iod::InformationObjectDefinition | |
std::shared_ptr< ::fwGdcmIO::container::DicomInstance > | m_instance |
DICOM Instance. | |
::fwMedData::DicomSeries::csptr | m_dicomSeries |
Dicom Series. | |
::fwLog::Logger::sptr | m_logger |
Logger. | |
ProgressCallback | m_progressCallback |
Progress callback for jobs. | |
CancelRequestedCallback | m_cancelRequestedCallback |
Cancel information for jobs. | |
Additional Inherited Members | |
Public Types inherited from fwGdcmIO::reader::iod::InformationObjectDefinition | |
typedef std::function< void(std::uint64_t) > | ProgressCallback |
typedef std::function< bool() > | CancelRequestedCallback |
CTMRImageIOD class used to read CT & MR Image IODs.
Definition at line 21 of file reader/iod/CTMRImageIOD.hpp.
fwGdcmIO::reader::iod::CTMRImageIOD::CTMRImageIOD | ( | const ::fwMedData::DicomSeries::csptr & | dicomSeries, |
const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > & | instance, | ||
const ::fwLog::Logger::sptr & | logger = nullptr , |
||
ProgressCallback | progress = nullptr , |
||
CancelRequestedCallback | cancel = nullptr |
||
) |
Constructor.
[in] | dicomSeries | DicomSeries |
[in] | instance | Instance |
[in] | logger | Logger |
[in] | progress | Progress callback |
[in] | cancel | Cancel requested callback |
Definition at line 29 of file reader/iod/CTMRImageIOD.cpp.
|
virtual |
Read a DICOM File.
[in,out] | series | Series that must be enriched |
Implements fwGdcmIO::reader::iod::InformationObjectDefinition.
Definition at line 48 of file reader/iod/CTMRImageIOD.cpp.
References fwGdcmIO::reader::iod::InformationObjectDefinition::m_cancelRequestedCallback, fwGdcmIO::reader::iod::InformationObjectDefinition::m_dicomSeries, m_enableBufferRotation, fwGdcmIO::reader::iod::InformationObjectDefinition::m_instance, fwGdcmIO::reader::iod::InformationObjectDefinition::m_logger, fwGdcmIO::reader::iod::InformationObjectDefinition::m_progressCallback, fwGdcmIO::reader::ie::Image::setBufferRotationEnabled(), SLM_ASSERT, and SPTR.
Referenced by fwGdcmIO::reader::Series::read().