fw4spl
reader/tid/MeasurementReport.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2018.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #pragma once
8 
9 #include "fwGdcmIO/container/sr/DicomSRNode.hpp"
10 #include "fwGdcmIO/reader/tid/TemplateID.hpp"
11 
12 #include <fwData/Image.hpp>
13 
14 namespace fwGdcmIO
15 {
16 namespace reader
17 {
18 namespace tid
19 {
20 
25 class FWGDCMIO_CLASS_API MeasurementReport : public ::fwGdcmIO::reader::tid::TemplateID< ::fwData::Image >
26 {
27 
28 public:
37  FWGDCMIO_API MeasurementReport(const CSPTR(::fwMedData::DicomSeries)& dicomSeries,
38  const SPTR(::gdcm::Reader)& reader,
39  const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
40  const ::fwData::Image::sptr& image,
41  const ::fwLog::Logger::sptr& logger);
42 
44  FWGDCMIO_API virtual ~MeasurementReport();
45 
50  FWGDCMIO_API virtual void readSR(const SPTR(::fwGdcmIO::container::sr::DicomSRNode)& root);
51 
52 };
53 
54 } // namespace tid
55 } // namespace reader
56 } // namespace fwGdcmIO
#define SPTR(_cls_)
#define CSPTR(_cls_)
This class defines a DICOM SOP instance. It is useful during the whole writing process. This class allows to share data between module writers.
Measurement Report TID - This a root template.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
This class defines a node in a SR document.
Definition: DicomSRNode.hpp:27
TemplateID base class used to write templates.