34 m_Color.Set(red, green, blue);
41 bool mitk::ColorProperty::IsEqual(
const BaseProperty &property)
const
43 return this->m_Color ==
static_cast<const Self &
>(property).m_Color;
46 bool mitk::ColorProperty::Assign(
const BaseProperty &property)
48 this->m_Color =
static_cast<const Self &
>(property).m_Color;
73 float tmp[3] = {red, green, blue};
79 std::stringstream myStr;
80 myStr.imbue(std::locale::classic());
itk::SmartPointer< Self > Pointer
void SetColor(const mitk::Color &color)
std::string GetValueAsString() const override
void SetValue(const mitk::Color &color)
The ColorProperty class RGB color property.
Abstract base class for properties.
const mitk::Color & GetColor() const
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
const mitk::Color & GetValue() const