/*! * @file color.h * @brief Definition of color-calculations * * code borrowed from: * http://www.easyrgb.com/math.php */ #ifndef _COLOR_H #define _COLOR_H //#include "vector.h" class Vector; //! a very abstract Class that helps transforming Colors into different Systems class Color { public: static Vector RGBtoHSV (const Vector& RGB); static Vector HSVtoRGB (const Vector& HSV); static float minrgb(float r, float g, float b); static float maxrgb(float r, float g, float b); }; #endif /* _COLOR_H */