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

Method LevelWindow

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

Source from the content-addressed store, hash-verified

54}
55
56mitk::LevelWindow::LevelWindow(mitk::ScalarType level, mitk::ScalarType window)
57 : m_LowerWindowBound(level - window / 2.0),
58 m_UpperWindowBound(level + window / 2.0),
59 m_RangeMin(-2048.0),
60 m_RangeMax(4096.0),
61 m_DefaultLowerBound(-2048.0),
62 m_DefaultUpperBound(4096.0),
63 m_IsFloatingImage(false),
64 m_Fixed(false)
65{
66 SetDefaultLevelWindow(level, window);
67 SetLevelWindow(level, window, true);
68}
69
70mitk::LevelWindow::LevelWindow(const mitk::LevelWindow &levWin)
71 : m_LowerWindowBound(levWin.GetLowerWindowBound()),

Callers

nothing calls this directly

Calls 8

GetLowerWindowBoundMethod · 0.80
GetUpperWindowBoundMethod · 0.80
GetDefaultLowerBoundMethod · 0.80
GetDefaultUpperBoundMethod · 0.80
IsFloatingValuesMethod · 0.80
GetRangeMinMethod · 0.45
GetRangeMaxMethod · 0.45
GetFixedMethod · 0.45

Tested by

no test coverage detected