17 #ifndef MITKCOLORPROPERTY_H_HEADER_INCLUDED_C17953D1
18 #define MITKCOLORPROPERTY_H_HEADER_INCLUDED_C17953D1
22 #include <itkRGBPixel.h>
28 #pragma warning(disable : 4522)
39 typedef itk::RGBPixel<float>
Color;
60 ColorProperty(
const float red,
const float green,
const float blue);
75 const
mitk::Color &GetColor() const;
76 const
mitk::Color &GetValue() const;
77 std::
string GetValueAsString() const override;
78 void SetColor(const
mitk::Color &color);
79 void SetValue(const
mitk::Color &color);
80 void SetColor(
float red,
float green,
float blue);
86 ColorProperty &operator=(const ColorProperty &);
88 virtual
itk::LightObject::
Pointer InternalClone() const override;
90 virtual
bool IsEqual(const
BaseProperty &property) const override;
91 virtual
bool Assign(const
BaseProperty &property) override;
#define mitkNewMacro1Param(classname, type)
DataCollection - Class to facilitate loading/accessing structured data.
The ColorProperty class RGB color property.
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
#define mitkNewMacro3Param(classname, typea, typeb, typec)