7 #include "fwGdcmIO/reader/ie/Document.hpp" 9 #include "fwGdcmIO/container/DicomCodedAttribute.hpp" 10 #include "fwGdcmIO/container/sr/DicomSRContainerNode.hpp" 11 #include "fwGdcmIO/helper/StructuredReport.hpp" 12 #include "fwGdcmIO/reader/tid/MeasurementReport.hpp" 24 const SPTR(::gdcm::Reader)& reader,
25 const ::fwGdcmIO::container::DicomInstance::sptr& instance,
26 const ::fwData::Image::sptr& image,
27 const ::fwLog::Logger::sptr& logger,
28 ProgressCallback progress,
29 CancelRequestedCallback cancel) :
30 ::
fwGdcmIO::reader::ie::InformationEntity< ::
fwData::Image >(dicomSeries, reader, instance, image,
31 logger, progress, cancel)
43 void Document::readSR() throw (::
fwGdcmIO::exception::Failed)
46 const ::gdcm::DataSet& datasetRoot = m_reader->GetFile().GetDataSet();
56 report.
readSR(rootContainerNode);
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.
Measurement Report TID - This a root template.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
This class defines a CONTAINER node in a SR document.
static FWGDCMIO_API std::shared_ptr< ::fwGdcmIO::container::sr::DicomSRContainerNode > readSR(const ::gdcm::DataSet &dataset)
Read a Structured Report.
virtual FWGDCMIO_API void readSR(const std::shared_ptr< ::fwGdcmIO::container::sr::DicomSRNode > &root)
Create Measurement Report template root node.
Contains the representation of the data objects used in the framework.