Page MenuHomePhabricator

mitk::LevelWindow::SetLevelWindow should allow a "force set" (currently "corrects")
Closed, ResolvedPublic

Description

mitk::LevelWindow::SetLevelWindow(level,window) currently takes the input parameters and attempts to set its internal members accordingly, UNLESS its internal range definitions don't allow that.

For application cases where you want to e.g. apply a level/window preset, it would be helpful if the caller could request to adapt the bounds if they don't fit.

Event Timeline

[76b1c8]: Merge branch 'bug-12210-force-level-window-on-request'

Merged commits:

2012-06-14 15:03:11 Daniel Maleike [8fd71f]
Adjust range min/max on request