Page MenuHomePhabricator

Default value for m_ReconstructionMode is missing
Closed, ResolvedPublic

Description

The member m_ReconstructionMode of the mitkToFDistanceImageToSurfaceFilter is never initialized. This results in unknown behavior if the user does not set the variable.

This value is not set in ToFUtil. Thus, we have no idea if we use the interpixeldistance to generate surfaces or not. I would suggest to use "true" is default value and set it in the constructor of the filter. Very easy to fix in BSQ.

Event Timeline

[bee073]: Merge branch 'bug-13041-default_value_for_m_ReconstructionMode_is_miss

Merged commits:

2012-09-27 18:12:50 Anja Groch [a19fae]
Set in both filters the default value to true