comparison OrthancStone/Sources/Volumes/VolumeImageGeometry.cpp @ 1767:e7b4479dea6f

back to older behavior
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 May 2021 11:42:08 +0200
parents ae18b5cfbd3e
children 226718777702
comparison
equal deleted inserted replaced
1766:ae18b5cfbd3e 1767:e7b4479dea6f
257 bool VolumeImageGeometry::DetectSlice(VolumeProjection& projection, 257 bool VolumeImageGeometry::DetectSlice(VolumeProjection& projection,
258 unsigned int& slice, 258 unsigned int& slice,
259 const CoordinateSystem3D& plane) const 259 const CoordinateSystem3D& plane) const
260 { 260 {
261 bool isOpposite; 261 bool isOpposite;
262 if (!DetectProjection(projection, isOpposite, plane.GetNormal())) 262 if (!DetectProjection(projection, isOpposite, plane.GetNormal()) ||
263 isOpposite /* TODO - Error in 2021-04-27-repro-bug-HFP-HFS-cartman */)
263 { 264 {
264 return false; 265 return false;
265 } 266 }
266 267
267 // Transforms the coordinates of the origin of the plane, into the 268 // Transforms the coordinates of the origin of the plane, into the