changeset 149:f7be90de6d1b wasm

ImageBuffer3D::GetVoxelSignedGrayscale16Unchecked()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Jan 2018 17:02:13 +0100
parents c6a464c266dd
children 62670cc2bb50
files Framework/Volumes/ImageBuffer3D.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Volumes/ImageBuffer3D.h	Wed Jan 24 15:30:51 2018 +0100
+++ b/Framework/Volumes/ImageBuffer3D.h	Wed Jan 24 17:02:13 2018 +0100
@@ -138,6 +138,13 @@
       return GetPixelUnchecked<uint16_t>(x, y, z);
     }
 
+    int16_t GetVoxelSignedGrayscale16Unchecked(unsigned int x,
+                                               unsigned int y,
+                                               unsigned int z) const
+    {
+      return GetPixelUnchecked<int16_t>(x, y, z);
+    }
+
     uint8_t GetVoxelGrayscale8(unsigned int x,
                                unsigned int y,
                                unsigned int z) const;