changeset 1838:2137df64a64c

getters
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Nov 2015 18:00:42 +0100
parents fbc5522023aa
children 7f68b04c79e8
files Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
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_;
+    }
   };
 }