diff Framework/Volumes/ImageBuffer3D.h @ 765:f6438fdc447e

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 23 May 2019 14:57:52 +0200
parents c3bbb130abc4
children 2d8ab34c8c91
line wrap: on
line diff
--- a/Framework/Volumes/ImageBuffer3D.h	Thu May 23 12:54:10 2019 +0200
+++ b/Framework/Volumes/ImageBuffer3D.h	Thu May 23 14:57:52 2019 +0200
@@ -99,6 +99,11 @@
       return format_;
     }
 
+    unsigned int GetBytesPerPixel() const
+    {
+      return Orthanc::GetBytesPerPixel(format_);
+    }
+
     uint64_t GetEstimatedMemorySize() const;
 
     bool GetRange(float& minValue,