fw4spl
FrameOfReference.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 FrameOfReference : public ::fwGdcmIO::writer::ie::InformationEntity< ::fwMedData::Series >
24 {
25 
26 public:
36  FWGDCMIO_API FrameOfReference(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 ~FrameOfReference();
45 
50  FWGDCMIO_API virtual void writeFrameOfReferenceModule();
51 };
52 
53 } // namespace ie
54 } // namespace writer
55 } // namespace fwGdcmIO
Frame Of Reference Information Entity class.
#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.