fw4spl
reader/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/reader/iod/InformationObjectDefinition.hpp"
10 
11 namespace fwGdcmIO
12 {
13 namespace reader
14 {
15 namespace iod
16 {
17 
22 {
23 
24 public:
25 
34  FWGDCMIO_API CTMRImageIOD(const ::fwMedData::DicomSeries::csptr& dicomSeries,
35  const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
36  const ::fwLog::Logger::sptr& logger = nullptr,
37  ProgressCallback progress = nullptr,
38  CancelRequestedCallback cancel = nullptr);
39 
41  FWGDCMIO_API ~CTMRImageIOD();
42 
47  FWGDCMIO_API void read(::fwMedData::Series::sptr series) throw(::fwGdcmIO::exception::Failed);
48 
50  void setBufferRotationEnabled(bool enabled)
51  {
52  m_enableBufferRotation = enabled;
53  }
54 
55 protected:
58 };
59 
60 } // namespace iod
61 } // namespace reader
62 } // 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.
Implements a failed exception class for fwGdcmIO.
InformationObjectDefinition base class used to read DICOM IODs.
bool m_enableBufferRotation
Enable buffer rotation.
CTMRImageIOD class used to read CT & MR Image IODs.
void setBufferRotationEnabled(bool enabled)
Enable buffer rotation.