18 #ifndef GLOWCOLORMODE_H 19 #define GLOWCOLORMODE_H 47 h_inc += 0.001 * sign;
58 double fV = (exp(sin( (M_PI/2)+
h_inc*60 ))-0.36787944)*0.42545906411;
76 std::string
getName(){
return std::string(
"GlowColorMode"); }
static void rgb2hsv(float r, float g, float b, float &h, float &s, float &v)
static void hsv2rgb(float h, float s, float v, float &r, float &g, float &b)
static const unsigned int UPDATE_RATE_HZ
boost::signals2::signal< void(color::rgba color)> m_sigColorReady
GlowColorMode(color::rgba color, int priority=0, double freq=0.25, int pulses=0, double timeout=0)