HomePhabricator
Diffusion MITK f00d2e9cd20f

correct handling of lefthanded coordinate orientations in mitkPlaneGeometry.

Description

correct handling of lefthanded coordinate orientations in mitkPlaneGeometry.

Amend ensurePerpendicularNormal() and InitializeStandardPlane() to check for
lefthanded coordinate systems and set the normal vectors sign accordingly,
since those methods ignored lefthanded geometries before.
Extending CppUnitTests mitkPlaneGeometryTest.cpp with TestLefthandedCoordinateSystem().
Clarifying comments and cleaning up coding style a bit.
This patch fixes #11477, #16772 and #18114.

Details

Provenance
hettichAuthored on Nov 30 2015, 11:46 PM
Parents
rMITK99ad772c0283: Merge branch 'bug-18996-image-statistics-planarfigure-export-to-clipboard'
Branches
Unknown
Tags
Unknown