fw4spl
|
SpatialFiducialsIOD class used to read Spatial Fiducials IODs. More...
#include <SpatialFiducialsIOD.hpp>
Public Member Functions | |
FWGDCMIO_API | SpatialFiducialsIOD (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 | ~SpatialFiducialsIOD () |
Destructor. | |
FWGDCMIO_API void | read (::fwMedData::Series::sptr series) throw (::fwGdcmIO::exception::Failed) |
Read a DICOM File. More... | |
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. | |
Additional Inherited Members | |
Public Types inherited from fwGdcmIO::reader::iod::InformationObjectDefinition | |
typedef std::function< void(std::uint64_t) > | ProgressCallback |
typedef std::function< bool() > | CancelRequestedCallback |
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. | |
SpatialFiducialsIOD class used to read Spatial Fiducials IODs.
Definition at line 21 of file reader/iod/SpatialFiducialsIOD.hpp.
FWGDCMIO_API fwGdcmIO::reader::iod::SpatialFiducialsIOD::SpatialFiducialsIOD | ( | 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 |
|
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/SpatialFiducialsIOD.cpp.
References fwGdcmIO::writer::ie::InformationEntity< ::fwData::Image >::m_cancelRequestedCallback, fwGdcmIO::writer::ie::InformationEntity< ::fwData::Image >::m_instance, fwGdcmIO::writer::ie::InformationEntity< ::fwData::Image >::m_logger, fwGdcmIO::writer::ie::InformationEntity< ::fwData::Image >::m_progressCallback, fwGdcmIO::reader::ie::SpatialFiducials::readLandmark(), SLM_ASSERT, and SPTR.
Referenced by fwGdcmIO::reader::Series::read().