Public Member Functions |
| RGB (const T &r, const T &g, const T &b) |
| RGB () |
template<typename U > |
| RGB (const RGB< U > &rgb) |
| ~RGB () |
T & | operator[] (uint i) |
const T & | operator[] (uint i) const |
bool | operator== (const RGB< T > &rgb) const |
bool | operator!= (const RGB< T > &rgb) const |
RGB | operator<< (uint i) const |
RGB | operator>> (uint i) const |
RGB | operator+ (const RGB &rgb) const |
RGB | operator- (const RGB &rgb) const |
RGB | operator* (const RGB &rgb) const |
RGB & | operator+= (const RGB &rgb) |
RGB & | operator*= (const RGB &rgb) |
void | clamp (const RGB &rgb0, const RGB &rgb1) |
RGB | operator* (const T &s) const |
RGB | operator/ (const T &s) const |
RGB | operator/= (const T &s) |
void | clamp (const T &s0, const T &s1) |
template<> |
const RGB< float > | One (1.f, 1.f, 1.f) |
Static Public Attributes |
static const RGB | One |
static const RGB | Zero |
static const RGB | Invalid |
Private Attributes |
T | e [3] |
Friends |
class | RGB |
class | Math::Vector< T > |
class | Math::Vector |
RGB< T > | Core::operator* (const T &, const RGB< T > &) |
RGB< T > | Core::Exp (const RGB< T > &) |
RGB< T > | Core::Log (const RGB< T > &) |
RGB< T > | Core::Pow (const RGB< T > &, const RGB< T > &) |
RGB< T > | Core::Pow (const RGB< T > &, const T &) |
istream & | operator>> (istream &in, RGB &rgb) |
ostream & | operator<< (ostream &out, const RGB &rgb) |
template<typename T>
class Core::RGB< T >
Storage and manipulation of color values.