#include <Color.h>
Public Member Functions | |
| ColorT () | |
| ColorT (T aR, T aG, T aB) | |
| ColorT (const ColorT< T > &src) | |
| ColorT (ColorModel cm, const Vec3f &v) | |
| ColorT (ColorModel cm, float x, float y, float z) | |
| template<typename FromT > | |
| ColorT (const ColorT< FromT > &src) | |
| void | set (ColorModel cm, const Vec3f &v) |
| ColorT< T > | operator= (const ColorT< T > &rhs) |
| template<class FromT > | |
| ColorT< T > | operator= (const ColorT< FromT > &rhs) |
| Vec3f | get (ColorModel cm) |
| T & | operator[] (int n) |
| ColorT< T > | operator+ (const ColorT< T > &rhs) const |
| ColorT< T > | operator- (const ColorT< T > &rhs) const |
| ColorT< T > | operator* (const ColorT< T > &rhs) const |
| ColorT< T > | operator/ (const ColorT< T > &rhs) const |
| const ColorT< T > & | operator+= (const ColorT< T > &rhs) |
| const ColorT< T > & | operator-= (const ColorT< T > &rhs) |
| const ColorT< T > & | operator*= (const ColorT< T > &rhs) |
| const ColorT< T > & | operator/= (const ColorT< T > &rhs) |
| ColorT< T > | operator+ (T rhs) const |
| ColorT< T > | operator- (T rhs) const |
| ColorT< T > | operator* (T rhs) const |
| ColorT< T > | operator/ (T rhs) const |
| const ColorT< T > & | operator+= (T rhs) |
| const ColorT< T > & | operator-= (T rhs) |
| const ColorT< T > & | operator*= (T rhs) |
| const ColorT< T > & | operator/= (T rhs) |
| CHANTRAIT< T >::Accum | dot (const ColorT< T > &rhs) const |
| float | distance (const ColorT< T > &rhs) const |
| CHANTRAIT< T >::Accum | distanceSquared (const ColorT< T > &rhs) const |
| float | length () const |
| CHANTRAIT< T >::Accum | lengthSquared () const |
| void | normalize () |
| ColorT< T > | lerp (T fact, const ColorT< T > &d) const |
| operator T * () | |
| operator const T * () const | |
| template<> | |
| const ColorT< uint8_t > & | operator*= (const ColorT< uint8_t > &rhs) |
| template<> | |
| const ColorT< uint8_t > & | operator*= (uint8_t rhs) |
| template<> | |
| ColorT< uint8_t > | operator* (const ColorT< uint8_t > &rhs) const |
| template<> | |
| ColorT< uint8_t > | operator* (uint8_t rhs) const |
| template<> | |
| const ColorT< uint8_t > & | operator/= (const ColorT< uint8_t > &rhs) |
| template<> | |
| const ColorT< uint8_t > & | operator/= (uint8_t rhs) |
| template<> | |
| ColorT< uint8_t > | operator/ (const ColorT< uint8_t > &rhs) const |
| template<> | |
| ColorT< uint8_t > | operator/ (uint8_t rhs) const |
| template<> | |
| ColorT< uint8_t > | lerp (uint8_t fact, const ColorT< uint8_t > &d) const |
Static Public Member Functions | |
| static ColorT< T > | max () |
| static ColorT< T > | black () |
| static ColorT< T > | white () |
Public Attributes | |
| T | r |
| T | g |
| T | b |
| cinder::ColorT< T >::ColorT | ( | ) |
| cinder::ColorT< T >::ColorT | ( | T | aR, | |
| T | aG, | |||
| T | aB | |||
| ) |
| cinder::ColorT< T >::ColorT | ( | const ColorT< T > & | src | ) |
| cinder::ColorT< T >::ColorT | ( | ColorModel | cm, | |
| const Vec3f & | v | |||
| ) |
| cinder::ColorT< T >::ColorT | ( | ColorModel | cm, | |
| float | x, | |||
| float | y, | |||
| float | z | |||
| ) |
| cinder::ColorT< T >::ColorT | ( | const ColorT< FromT > & | src | ) |
| void cinder::ColorT< T >::set | ( | ColorModel | cm, | |
| const Vec3f & | v | |||
| ) |
| ColorT<T> cinder::ColorT< T >::operator= | ( | const ColorT< T > & | rhs | ) |
| ColorT<T> cinder::ColorT< T >::operator= | ( | const ColorT< FromT > & | rhs | ) |
| Vec3f cinder::ColorT< T >::get | ( | ColorModel | cm | ) |
| T& cinder::ColorT< T >::operator[] | ( | int | n | ) |
| ColorT<T> cinder::ColorT< T >::operator+ | ( | const ColorT< T > & | rhs | ) | const |
| ColorT<T> cinder::ColorT< T >::operator- | ( | const ColorT< T > & | rhs | ) | const |
| ColorT<T> cinder::ColorT< T >::operator* | ( | const ColorT< T > & | rhs | ) | const |
| ColorT<T> cinder::ColorT< T >::operator/ | ( | const ColorT< T > & | rhs | ) | const |
| const ColorT<T>& cinder::ColorT< T >::operator+= | ( | const ColorT< T > & | rhs | ) |
| const ColorT<T>& cinder::ColorT< T >::operator-= | ( | const ColorT< T > & | rhs | ) |
| const ColorT<T>& cinder::ColorT< T >::operator*= | ( | const ColorT< T > & | rhs | ) |
| const ColorT<T>& cinder::ColorT< T >::operator/= | ( | const ColorT< T > & | rhs | ) |
| ColorT<T> cinder::ColorT< T >::operator+ | ( | T | rhs | ) | const |
| ColorT<T> cinder::ColorT< T >::operator- | ( | T | rhs | ) | const |
| ColorT<T> cinder::ColorT< T >::operator* | ( | T | rhs | ) | const |
| ColorT<T> cinder::ColorT< T >::operator/ | ( | T | rhs | ) | const |
| const ColorT<T>& cinder::ColorT< T >::operator+= | ( | T | rhs | ) |
| const ColorT<T>& cinder::ColorT< T >::operator-= | ( | T | rhs | ) |
| const ColorT<T>& cinder::ColorT< T >::operator*= | ( | T | rhs | ) |
| const ColorT<T>& cinder::ColorT< T >::operator/= | ( | T | rhs | ) |
| CHANTRAIT<T>::Accum cinder::ColorT< T >::dot | ( | const ColorT< T > & | rhs | ) | const |
| float cinder::ColorT< T >::distance | ( | const ColorT< T > & | rhs | ) | const |
| CHANTRAIT<T>::Accum cinder::ColorT< T >::distanceSquared | ( | const ColorT< T > & | rhs | ) | const |
| float cinder::ColorT< T >::length | ( | ) | const |
| CHANTRAIT<T>::Accum cinder::ColorT< T >::lengthSquared | ( | ) | const |
| void cinder::ColorT< T >::normalize | ( | ) |
| ColorT<T> cinder::ColorT< T >::lerp | ( | T | fact, | |
| const ColorT< T > & | d | |||
| ) | const |
| static ColorT<T> cinder::ColorT< T >::max | ( | ) | [static] |
| static ColorT<T> cinder::ColorT< T >::black | ( | ) | [static] |
| static ColorT<T> cinder::ColorT< T >::white | ( | ) | [static] |
| cinder::ColorT< T >::operator T * | ( | ) |
| cinder::ColorT< T >::operator const T * | ( | ) | const |
| const ColorT< uint8_t > & cinder::ColorT< uint8_t >::operator*= | ( | const ColorT< uint8_t > & | rhs | ) |
| const ColorT< uint8_t > & cinder::ColorT< uint8_t >::operator*= | ( | uint8_t | rhs | ) |
| ColorT< uint8_t > cinder::ColorT< uint8_t >::operator* | ( | const ColorT< uint8_t > & | rhs | ) | const |
| ColorT< uint8_t > cinder::ColorT< uint8_t >::operator* | ( | uint8_t | rhs | ) | const |
| const ColorT< uint8_t > & cinder::ColorT< uint8_t >::operator/= | ( | const ColorT< uint8_t > & | rhs | ) |
| const ColorT< uint8_t > & cinder::ColorT< uint8_t >::operator/= | ( | uint8_t | rhs | ) |
| ColorT< uint8_t > cinder::ColorT< uint8_t >::operator/ | ( | const ColorT< uint8_t > & | rhs | ) | const |
| ColorT< uint8_t > cinder::ColorT< uint8_t >::operator/ | ( | uint8_t | rhs | ) | const |
| ColorT< uint8_t > cinder::ColorT< uint8_t >::lerp | ( | uint8_t | fact, | |
| const ColorT< uint8_t > & | d | |||
| ) | const |
| T cinder::ColorT< T >::r |
| T cinder::ColorT< T >::g |
| T cinder::ColorT< T >::b |