fw4spl
writer/iod/SurfaceSegmentationIOD.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 #include <boost/filesystem/path.hpp>
14 
15 namespace fwGdcmIO
16 {
17 namespace writer
18 {
19 namespace iod
20 {
21 
26 {
27 
28 public:
38  FWGDCMIO_API SurfaceSegmentationIOD(const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
39  const SPTR(::fwGdcmIO::container::DicomInstance)& imageInstance,
40  const ::boost::filesystem::path& destinationPath,
41  const ::fwLog::Logger::sptr& logger = ::fwLog::Logger::New(),
42  ProgressCallback progress = nullptr,
43  CancelRequestedCallback cancel = nullptr);
44 
46  FWGDCMIO_API virtual ~SurfaceSegmentationIOD();
47 
49  FWGDCMIO_API virtual void write(const ::fwMedData::Series::csptr& series) override;
50 
51 protected:
54 
55 };
56 
57 } // namespace iod
58 } // namespace writer
59 } // 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.
SurfaceSegmentationIOD class used to write Surface Segmentation DICOM files.
InformationObjectDefinition base class used to write DICOM modules.