30 SetLevelWindow(levWin);
37 bool mitk::LevelWindowProperty::IsEqual(
const BaseProperty &property)
const
39 return this->m_LevWin ==
static_cast<const Self &
>(property).m_LevWin;
42 bool mitk::LevelWindowProperty::Assign(
const BaseProperty &property)
44 this->m_LevWin =
static_cast<const Self &
>(property).m_LevWin;
55 return GetLevelWindow();
60 if (m_LevWin != levWin)
69 SetLevelWindow(levWin);
74 std::stringstream myStr;
75 myStr <<
"L:" << m_LevWin.GetLevel() <<
" W:" << m_LevWin.GetWindow();
const mitk::LevelWindow & GetLevelWindow() const
itk::SmartPointer< Self > Pointer
The LevelWindowProperty class Property for the mitk::LevelWindow.
The LevelWindow class Class to store level/window values.
void SetLevelWindow(const LevelWindow &levWin)
Abstract base class for properties.
virtual ~LevelWindowProperty()
virtual std::string GetValueAsString() const override
const mitk::LevelWindow & GetValue() const
void SetValue(const ValueType &levWin)