HomePhabricator
Diffusion MITK 5317a6b4c554

Description

Fixed T26979

Summary:
Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>

Fixed T26979

Save guard that ensures that the bounds are always valid for a plane geometry
(bounds[1] and bounds[3] must not be zero).
If this is the complete fix or only curing the symptoms,
will be discussed in the task. Depending on the discussion
results this may not be over.

The problem occures when the current world geometry, that
should be rendered by the mapper, has an FOV that in combination with
a loaded image generates an index (right or bottom vector) that is
smaller then 1 and will be rounded to 0, wich violates the bound checks
of plane geometry.
More details in Task T26979

Signed-off-by: Ralf Floca <r.floca@dkfz-heidelberg.de>

Test Plan: code review and application test

Reviewers: O1 MITK Reviewer Group I, kislinsk

Reviewed By: O1 MITK Reviewer Group I, kislinsk

Subscribers: kislinsk

Maniphest Tasks: T26979

Differential Revision: https://phabricator.mitk.org/D310

Details

Provenance
flocaAuthored on May 26 2020, 8:57 PM
flocaPushed on May 29 2020, 10:42 AM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITK37a74f46ded1: Fixed one change into sliceGeometry i have forgot to revert/change to…
rMITKef453c4b061e: Fixed T27444 - Crash in manipulator
Branches
Unknown
Tags
Unknown
Tasks
T26979: Error when loading a measurement or pointset and then an image