47 #ifndef _MIRA_OGRECOLOR_H_ 48 #define _MIRA_OGRECOLOR_H_ 60 template<
typename Reflector>
61 void reflect(Reflector& r, Ogre::ColourValue& color)
63 r.property(
"Red", color.r,
"Red component (0-1)",
65 r.property(
"Green", color.g,
"Green component (0-1)",
67 r.property(
"Blue", color.b,
"Blue component (0-1)",
69 r.property(
"Alpha", color.a,
"Alpha (0=transparent, 1=opaque)",
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Provides property hints and attributes.
PropertyHint limits(const T &min, const T &max)
Sets both attributes "minimum" and "maximum" to the specified values.
Definition: PropertyHint.h:275
void reflect(Reflector &r, LogRecord &record)
Non-intrusive reflector for LogRecord.
Definition: LoggingCore.h:137
Non intrusive reflect for OGRE color class.