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