MCPcopy Create free account
hub / github.com/MITK/MITK / SetLevelWindow

Method SetLevelWindow

Modules/Core/src/DataManagement/mitkLevelWindow.cpp:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void mitk::LevelWindow::SetLevelWindow(mitk::ScalarType level, mitk::ScalarType window, bool expandRangesIfNecessary)
127{
128 SetWindowBounds((level - (window / 2.0)), (level + (window / 2.0)), expandRangesIfNecessary);
129}
130
131void mitk::LevelWindow::SetWindowBounds(mitk::ScalarType lowerBound,
132 mitk::ScalarType upperBound,

Callers 1

from_jsonFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected