fw4spl
reader/ie/SpatialFiducials.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/ie/InformationEntity.hpp"
10 
11 #include <fwData/Image.hpp>
12 
13 namespace fwGdcmIO
14 {
15 namespace reader
16 {
17 namespace ie
18 {
19 
23 class FWGDCMIO_CLASS_API SpatialFiducials : public ::fwGdcmIO::reader::ie::InformationEntity< ::fwData::Image >
24 {
25 
26 public:
37  FWGDCMIO_API SpatialFiducials(const CSPTR(::fwMedData::DicomSeries)& dicomSeries,
38  const SPTR(::gdcm::Reader)& reader,
39  const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
40  const ::fwData::Image::sptr& series,
41  const ::fwLog::Logger::sptr& logger = nullptr,
42  ProgressCallback progress = nullptr,
43  CancelRequestedCallback cancel = nullptr);
44 
46  FWGDCMIO_API virtual ~SpatialFiducials();
47 
51  void readLandmark(const ::gdcm::DataSet& fiducialDataset);
52 
56  void readDistance(const ::gdcm::DataSet& fiducialDataset);
57 
58 };
59 
60 } // namespace ie
61 } // namespace reader
62 } // namespace fwGdcmIO
#define SPTR(_cls_)
#define CSPTR(_cls_)
InformationEntity base class used to read 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.
Spatial Fiducials Information Entity class.