diff Framework/Toolbox/Slice.h @ 118:a4d0b6c82b29 wasm

using Orthanc::DicomMap instead of OrthancPlugins::DicomDatasetReader
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Oct 2017 14:31:26 +0200
parents 42c05a3baee3
children ba83e38cf3ff
line wrap: on
line diff
--- a/Framework/Toolbox/Slice.h	Thu Sep 28 16:55:51 2017 +0200
+++ b/Framework/Toolbox/Slice.h	Mon Oct 02 14:31:26 2017 +0200
@@ -24,6 +24,8 @@
 #include "CoordinateSystem3D.h"
 #include "DicomFrameConverter.h"
 
+#include <Core/DicomFormat/DicomMap.h>
+
 namespace OrthancStone
 {
   class Slice
@@ -38,7 +40,7 @@
       // TODO A slice could come from some DICOM file (URL)
     };
 
-    bool ComputeRTDoseGeometry(const OrthancPlugins::DicomDatasetReader& reader,
+    bool ComputeRTDoseGeometry(const Orthanc::DicomMap& dataset,
                                unsigned int frame);
 
     Type                 type_;
@@ -99,7 +101,7 @@
       return type_ != Type_Invalid;
     } 
 
-    bool ParseOrthancFrame(const OrthancPlugins::IDicomDataset& dataset,
+    bool ParseOrthancFrame(const Orthanc::DicomMap& dataset,
                            const std::string& instanceId,
                            unsigned int frame);