fw4spl
fwGdcmIO::reader::iod::CTMRImageIOD Class Reference

CTMRImageIOD class used to read CT & MR Image IODs. More...

#include <CTMRImageIOD.hpp>

+ Inheritance diagram for fwGdcmIO::reader::iod::CTMRImageIOD:
+ Collaboration diagram for fwGdcmIO::reader::iod::CTMRImageIOD:

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::DicomInstancem_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
 

Detailed Description

CTMRImageIOD class used to read CT & MR Image IODs.

Definition at line 21 of file reader/iod/CTMRImageIOD.hpp.

Constructor & Destructor Documentation

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.

Parameters
[in]dicomSeriesDicomSeries
[in]instanceInstance
[in]loggerLogger
[in]progressProgress callback
[in]cancelCancel requested callback

Definition at line 29 of file reader/iod/CTMRImageIOD.cpp.

Member Function Documentation

void fwGdcmIO::reader::iod::CTMRImageIOD::read ( ::fwMedData::Series::sptr  series)
throw (::fwGdcmIO::exception::Failed
)
virtual

Read a DICOM File.

Parameters
[in,out]seriesSeries 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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: