diff Framework/Toolbox/Slice.h @ 77:f5f54ed8d307 wasm

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 May 2017 21:13:29 +0200
parents ffa6dded91bd
children bd48431ac285
line wrap: on
line diff
--- a/Framework/Toolbox/Slice.h	Wed May 24 12:42:08 2017 +0200
+++ b/Framework/Toolbox/Slice.h	Wed May 24 21:13:29 2017 +0200
@@ -78,5 +78,10 @@
     unsigned int GetHeight() const;
 
     const DicomFrameConverter& GetConverter() const;
+
+    bool ContainsPlane(const SliceGeometry& plane) const
+    {
+      return geometry_.IsSamePlane(plane, thickness_);
+    }
   };
 }