fw4spl
io/fwGdcmIO/include/fwGdcmIO/writer/ie/Series.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/writer/ie/InformationEntity.hpp"
10 
11 #include <fwMedData/Series.hpp>
12 
13 namespace fwGdcmIO
14 {
15 namespace writer
16 {
17 namespace ie
18 {
19 
23 class FWGDCMIO_CLASS_API Series : public ::fwGdcmIO::writer::ie::InformationEntity< ::fwMedData::Series >
24 {
25 
26 public:
36  FWGDCMIO_API Series(const SPTR(::gdcm::Writer)& writer,
37  const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
38  const ::fwMedData::Series::csptr& series,
39  const ::fwLog::Logger::sptr& logger = nullptr,
40  ProgressCallback progress = nullptr,
41  CancelRequestedCallback cancel = nullptr);
42 
44  FWGDCMIO_API virtual ~Series();
45 
50  FWGDCMIO_API virtual void writeGeneralSeriesModule();
51 
56  FWGDCMIO_API virtual void writeSegmentationSeriesModule();
57 
62  FWGDCMIO_API virtual void writeSRDocumentSeriesModule();
63 
68  FWGDCMIO_API virtual void writeSpatialFiducialsSeriesModule();
69 
70 };
71 
72 } // namespace ie
73 } // namespace writer
74 } // namespace fwGdcmIO
#define SPTR(_cls_)
InformationEntity base class used to write modules.
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.