# HG changeset patch # User Sebastien Jodogne # Date 1448643642 -3600 # Node ID 2137df64a64caa4e3abae02fc79c257599f01ef8 # Parent fbc5522023aa2faeaf250b9c9adddc7ce3546f1e getters diff -r fbc5522023aa -r 2137df64a64c Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h --- 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_; + } }; }