MCPcopy Create free account
hub / github.com/MITK/MITK / operator==

Method operator==

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

Source from the content-addressed store, hash-verified

495}
496
497bool mitk::LevelWindow::operator==(const mitk::LevelWindow &levWin) const
498{
499 return mitk::Equal(this->m_RangeMin, levWin.m_RangeMin, mitk::sqrteps) &&
500 mitk::Equal(this->m_RangeMax, levWin.m_RangeMax, mitk::sqrteps) &&
501 mitk::Equal(this->m_DefaultLowerBound, levWin.m_DefaultLowerBound, mitk::sqrteps) &&
502 mitk::Equal(this->m_DefaultUpperBound, levWin.m_DefaultUpperBound, mitk::sqrteps) &&
503 mitk::Equal(this->m_LowerWindowBound, levWin.m_LowerWindowBound, mitk::sqrteps) &&
504 mitk::Equal(this->m_UpperWindowBound, levWin.m_UpperWindowBound, mitk::sqrteps) &&
505 m_Fixed == levWin.IsFixed() && m_IsFloatingImage == levWin.IsFloatingValues();
506}
507
508bool mitk::LevelWindow::operator!=(const mitk::LevelWindow &levWin) const
509{

Callers

nothing calls this directly

Calls 3

IsFloatingValuesMethod · 0.80
EqualFunction · 0.50
IsFixedMethod · 0.45

Tested by

no test coverage detected