fw4spl
writer/iod/ComprehensiveSRIOD.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/config.hpp"
10 #include "fwGdcmIO/container/DicomInstance.hpp"
11 #include "fwGdcmIO/writer/iod/InformationObjectDefinition.hpp"
12 
13 namespace fwGdcmIO
14 {
15 namespace writer
16 {
17 namespace iod
18 {
19 
24 {
25 
26 public:
36  FWGDCMIO_API ComprehensiveSRIOD(const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
37  const ::boost::filesystem::path& destinationPath,
38  bool use3DSR = false,
39  const ::fwLog::Logger::sptr& logger = nullptr,
40  ProgressCallback progress = nullptr,
41  CancelRequestedCallback cancel = nullptr);
42 
44  FWGDCMIO_API virtual ~ComprehensiveSRIOD();
45 
47  FWGDCMIO_API virtual void write(const ::fwMedData::Series::csptr& series) override;
48 
49 protected:
51  bool m_use3DSR;
52 
53 };
54 
55 } // namespace iod
56 } // namespace writer
57 } // 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.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
InformationObjectDefinition base class used to write DICOM modules.
ComprehensiveSRIOD class used to write Enhanced Structured Report DICOM files.