diff Framework/Toolbox/DicomInstanceParameters.h @ 1091:5a18e6a395bc toa2019102301

Added DoseUnit tag retrieval to DicomInstanceParameters
author Benjamin Golinvaux <bgo@osimis.io>
date Wed, 23 Oct 2019 15:34:39 +0200
parents 78a516d5ead5
children 7681f3943748
line wrap: on
line diff
--- a/Framework/Toolbox/DicomInstanceParameters.h	Tue Oct 22 17:51:25 2019 +0200
+++ b/Framework/Toolbox/DicomInstanceParameters.h	Wed Oct 23 15:34:39 2019 +0200
@@ -59,6 +59,7 @@
       Orthanc::PixelFormat              expectedPixelFormat_;
       bool                              hasIndexInSeries_;
       unsigned int                      indexInSeries_;
+      std::string                       doseUnits_;
 
       void ComputeDoseOffsets(const Orthanc::DicomMap& dicom);
 
@@ -199,5 +200,10 @@
     }
 
     unsigned int GetIndexInSeries() const;
+
+    const std::string& GetDoseUnits() const
+    {
+      return data_.doseUnits_;
+    }
   };
 }