Mercurial > hg > orthanc
diff Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h @ 1838:2137df64a64c
getters
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2015 18:00:42 +0100 |
parents | 2faa2abbf311 |
children | 7f68b04c79e8 |
line wrap: on
line diff
--- a/Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h Fri Nov 27 17:56:16 2015 +0100 +++ b/Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h Fri Nov 27 18:00:42 2015 +0100 @@ -59,5 +59,25 @@ OrthancPluginPixelFormat GetFormat(); char* GetBuffer(); + + double GetSlope() const + { + return slope_; + } + + double GetIntercept() const + { + return intercept_; + } + + double GetRowPixelSpacing() const + { + return rowPixelSpacing_; + } + + double GetColumnPixelSpacing() const + { + return columnPixelSpacing_; + } }; }