fw4spl
fwGdcmIO::reader::ie::Document Class Reference

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>

+ Inheritance diagram for fwGdcmIO::reader::ie::Document:
+ Collaboration diagram for fwGdcmIO::reader::ie::Document:

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::DicomSeriesm_dicomSeries
 Dicom Series.
 
std::shared_ptr< ::gdcm::Reader > m_reader
 GDCM Reader.
 
std::shared_ptr< ::fwGdcmIO::container::DicomInstancem_instance
 DICOM Instance.
 
std::shared_ptr< ::fwData::Imagem_object
 FW4SPL Object.
 
::fwLog::Logger::sptr m_logger
 Logger.
 
ProgressCallback m_progressCallback
 Progress callback for jobs.
 
CancelRequestedCallback m_cancelRequestedCallback
 Cancel information for jobs.
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Parameters
[in]dicomSeriesDicomSeries used to access computed tag values.
[in]readerGDCM reader that must be used to read landmarks and distances.
[in]instanceDICOM instance used to share informations between modules
[in]imageImage data
[in]loggerLogger
[in]progressProgress callback
[in]cancelCancel requested callback

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