fw4spl
writer/iod/CTMRImageIOD.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:
35  FWGDCMIO_API CTMRImageIOD(const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
36  const ::boost::filesystem::path& destinationPath,
37  const ::fwLog::Logger::sptr& logger = nullptr,
38  ProgressCallback progress = nullptr,
39  CancelRequestedCallback cancel = nullptr);
40 
42  FWGDCMIO_API virtual ~CTMRImageIOD();
43 
45  FWGDCMIO_API virtual void write(const ::fwMedData::Series::csptr& series) override;
46 
47 };
48 
49 } // namespace iod
50 } // namespace writer
51 } // 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.
CTMRImageIOD class used to write CTImage and MRImage DICOM files.
InformationObjectDefinition base class used to write DICOM modules.