fw4spl
|
Document Information Entity class It search and read a specific template from the root of the document SR. Currently, the template is TID 1400 (taken from PS 3.16) for distances and based on TID 320 (taken from PS 3.16) for landmarks. More...
#include <Document.hpp>
Public Member Functions | |
FWGDCMIO_API | Document (const std::shared_ptr< const ::fwMedData::DicomSeries > &dicomSeries, const std::shared_ptr< ::gdcm::Reader > &reader, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const ::fwData::Image::sptr &image, const ::fwLog::Logger::sptr &logger=nullptr, ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~Document () |
Destructor. | |
FWGDCMIO_API void | readSR () throw (::fwGdcmIO::exception::Failed) |
Read the Structured Report. | |
Public Member Functions inherited from fwGdcmIO::reader::ie::InformationEntity< ::fwData::Image > | |
FWGDCMIO_API | InformationEntity (const std::shared_ptr< const ::fwMedData::DicomSeries > &dicomSeries, const std::shared_ptr< ::gdcm::Reader > &reader, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const std::shared_ptr< ::fwData::Image > &object, const ::fwLog::Logger::sptr &logger=nullptr, const ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~InformationEntity () |
Destructor. | |
Additional Inherited Members | |
Public Types inherited from fwGdcmIO::reader::ie::InformationEntity< ::fwData::Image > | |
typedef std::function< void(std::uint64_t) > | ProgressCallback |
typedef std::function< bool() > | CancelRequestedCallback |
Protected Attributes inherited from fwGdcmIO::reader::ie::InformationEntity< ::fwData::Image > | |
std::shared_ptr< const ::fwMedData::DicomSeries > | m_dicomSeries |
Dicom Series. | |
std::shared_ptr< ::gdcm::Reader > | m_reader |
GDCM Reader. | |
std::shared_ptr< ::fwGdcmIO::container::DicomInstance > | m_instance |
DICOM Instance. | |
std::shared_ptr< ::fwData::Image > | m_object |
FW4SPL Object. | |
::fwLog::Logger::sptr | m_logger |
Logger. | |
ProgressCallback | m_progressCallback |
Progress callback for jobs. | |
CancelRequestedCallback | m_cancelRequestedCallback |
Cancel information for jobs. | |
Document Information Entity class It search and read a specific template from the root of the document SR. Currently, the template is TID 1400 (taken from PS 3.16) for distances and based on TID 320 (taken from PS 3.16) for landmarks.
Definition at line 37 of file reader/ie/Document.hpp.
FWGDCMIO_API fwGdcmIO::reader::ie::Document::Document | ( | const std::shared_ptr< const ::fwMedData::DicomSeries > & | dicomSeries, |
const std::shared_ptr< ::gdcm::Reader > & | reader, | ||
const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > & | instance, | ||
const ::fwData::Image::sptr & | image, | ||
const ::fwLog::Logger::sptr & | logger = nullptr , |
||
ProgressCallback | progress = nullptr , |
||
CancelRequestedCallback | cancel = nullptr |
||
) |
Constructor.
[in] | dicomSeries | DicomSeries used to access computed tag values. |
[in] | reader | GDCM reader that must be used to read landmarks and distances. |
[in] | instance | DICOM instance used to share informations between modules |
[in] | image | Image data |
[in] | logger | Logger |
[in] | progress | Progress callback |
[in] | cancel | Cancel requested callback |