diff OrthancStone/Sources/Volumes/VolumeImageGeometry.h @ 1766:ae18b5cfbd3e

VolumeImageGeometry::DetectProjection() reports if normal is opposite
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 May 2021 11:31:34 +0200
parents 9ac2a65d4172
children 3889ae96d2e9
line wrap: on
line diff
--- a/OrthancStone/Sources/Volumes/VolumeImageGeometry.h	Tue May 11 11:01:22 2021 +0200
+++ b/OrthancStone/Sources/Volumes/VolumeImageGeometry.h	Tue May 11 11:31:34 2021 +0200
@@ -92,8 +92,8 @@
     }
 
     void SetSizeInVoxels(unsigned int width,
-                 unsigned int height,
-                 unsigned int depth);
+                         unsigned int height,
+                         unsigned int depth);
 
     // Set the geometry of the first axial slice (i.e. the one whose
     // depth == 0)
@@ -118,6 +118,7 @@
                           float z) const;
 
     bool DetectProjection(VolumeProjection& projection,
+                          bool& isOpposite,
                           const Vector& planeNormal) const;
 
     /**