fw4spl
reader/iod/SurfaceSegmentationIOD.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 #include <gdcmSegment.h>
12 
13 namespace fwData
14 {
15 class Reconstruction;
16 }
17 
18 namespace fwMedData
19 {
20 class ModelSeries;
21 }
22 
23 namespace fwGdcmIO
24 {
25 namespace reader
26 {
27 namespace iod
28 {
29 
34 {
35 
36 public:
37 
46  FWGDCMIO_API SurfaceSegmentationIOD(const ::fwMedData::DicomSeries::csptr& dicomSeries,
47  const SPTR(::fwGdcmIO::container::DicomInstance)& instance,
48  const ::fwLog::Logger::sptr& logger = nullptr,
49  ProgressCallback progress = nullptr,
50  CancelRequestedCallback cancel = nullptr);
51 
53  FWGDCMIO_API virtual ~SurfaceSegmentationIOD();
54 
59  FWGDCMIO_API void read(::fwMedData::Series::sptr series) throw(::fwGdcmIO::exception::Failed);
60 
61 };
62 
63 } // namespace iod
64 } // namespace reader
65 } // namespace fwGdcmIO
#define SPTR(_cls_)
Namespace containing medical data.
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.
SurfaceSegmentationIOD class used to read Surface Segmentation IODs.
Contains the representation of the data objects used in the framework.