fw4spl
writer/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/writer/tid/TemplateID.hpp"
11 
12 #include <fwData/Image.hpp>
13 
14 namespace fwGdcmIO
15 {
16 namespace writer
17 {
18 namespace tid
19 {
20 
25 class FWGDCMIO_CLASS_API MeasurementReport : public ::fwGdcmIO::writer::tid::TemplateID< ::fwData::Image >
26 {
27 
28 public:
35  FWGDCMIO_API MeasurementReport(const SPTR(::gdcm::Writer)& writer,
36  const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
37  const ::fwData::Image::csptr& image);
38 
40  FWGDCMIO_API virtual ~MeasurementReport();
41 
46  FWGDCMIO_API virtual SPTR(::fwGdcmIO::container::sr::DicomSRNode) createRootNode(bool useSCoord3D = true);
47 
48 };
49 
50 } // namespace tid
51 } // namespace writer
52 } // namespace fwGdcmIO
#define SPTR(_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.
TemplateID base class used to write templates.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
This class defines a node in a SR document.
Definition: DicomSRNode.hpp:27
Measurement Report TID - This a root template.