Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkColorProperty_h
14 #define mitkColorProperty_h
18 #include <itkRGBPixel.h>
24 #pragma warning(disable : 4522)
35 typedef itk::RGBPixel<float>
Color;
56 ColorProperty(
const float red,
const float green,
const float blue);
64 itkFactorylessNewMacro(
Self);
73 std::string GetValueAsString()
const override;
76 void SetColor(
float red,
float green,
float blue);
78 using BaseProperty::operator=;
84 itk::LightObject::Pointer InternalClone()
const override;
86 bool IsEqual(
const BaseProperty &property)
const override;
Abstract base class for properties.
#define mitkNewMacro1Param(classname, type)
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
#define mitkNewMacro3Param(classname, typea, typeb, typec)
DataCollection - Class to facilitate loading/accessing structured data.
The ColorProperty class RGB color property.
#define mitkClassMacro(className, SuperClassName)