Page MenuHomePhabricator

Extend mitk::SliceNavigator::ReorientSlices Method to enable distinct orientation
Closed, ResolvedPublic

Description

So far the method "mitk::SliceNavigator::ReorientSlices" is only accepting two parameters:

mitk::Point3D centerPoint
mitk::Vector3D newNormal

When calling the function, the whole slice stack will be set to the new centerPoint and the new Normal Vector. However the rotation of the plane around its new normal is not defined. It is unclear how the axis vectors are oriented after the call.

To make more distinct re-orientation possible i added a paramter
mitk::Vector3D axisVec0 to the function.
After the slices have been reorientet to their new normal, they are rotated around it so the given axisVec0 is euqal the axisVec0 of the plane.

Event Timeline

Please try to use the sections in the template properly. Also it should be mentioned if or how backward compatibility will be maintained.

[f3144b]: Merge branch 'bug-13202-ReorientSlices'

Merged commits:

2012-09-24 16:42:06 Bastian Graser [a2f58c]
added Test and fixed a bug


2012-09-24 15:01:46 Bastian Graser [da3ed9]
Extended ReorientSlices Method