changeset 148:c6a464c266dd wasm

accessors
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Jan 2018 15:30:51 +0100
parents f48c5d422d45
children f7be90de6d1b
files Framework/Toolbox/DicomFrameConverter.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Toolbox/DicomFrameConverter.h	Tue Jan 23 17:50:19 2018 +0100
+++ b/Framework/Toolbox/DicomFrameConverter.h	Wed Jan 24 15:30:51 2018 +0100
@@ -73,6 +73,16 @@
       return defaultWindowWidth_;
     }
 
+    double GetRescaleIntercept() const
+    {
+      return rescaleIntercept_;
+    }
+      
+    double GetRescaleSlope() const
+    {
+      return rescaleSlope_;
+    }
+
     void ConvertFrame(std::auto_ptr<Orthanc::ImageAccessor>& source) const;
 
     void ApplyRescale(Orthanc::ImageAccessor& image,