TuttleOFX
1
|
Go to the source code of this file.
Namespaces | |
namespace | terry |
namespace | terry::color |
Functions | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::scaleMatrix (const typename Matrix5x5::value_type rScale, const typename Matrix5x5::value_type gScale, const typename Matrix5x5::value_type bScale, const typename Matrix5x5::value_type aScale) |
Make a color scale matrix. | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::contrastMatrix (const typename Matrix5x5::value_type rScale, const typename Matrix5x5::value_type gScale, const typename Matrix5x5::value_type bScale, const typename Matrix5x5::value_type aScale) |
Make a contrast matrix. | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::saturationMatrix (const typename Matrix5x5::value_type saturation) |
Make a saturation matrix. | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::offsetMatrix (const typename Matrix5x5::value_type rOffset, const typename Matrix5x5::value_type gOffset, const typename Matrix5x5::value_type bOffset, const typename Matrix5x5::value_type aOffset) |
Offset r, g, and b. | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::xRotateMatrix (const typename Matrix5x5::value_type rs, const typename Matrix5x5::value_type rc) |
rotate about the x (red) axis. | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::yRotateMatrix (const typename Matrix5x5::value_type rs, const typename Matrix5x5::value_type rc) |
Rotate about the y (green) axis. | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::zRotateMatrix (const typename Matrix5x5::value_type rs, const typename Matrix5x5::value_type rc) |
Rotate about the z (blue) axis. | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::zShearMatrix (const typename Matrix5x5::value_type dx, const typename Matrix5x5::value_type dy) |
Shear z using x and y. | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::simpleHueRotateMatrix (const typename Matrix5x5::value_type rotate) |
Simple hue rotation. This changes luminance. | |
template<class Matrix5x5 > | |
void | terry::color::xformpnt (const Matrix5x5 &matrix, const typename Matrix5x5::value_type x, const typename Matrix5x5::value_type y, const typename Matrix5x5::value_type z, typename Matrix5x5::value_type *tx, typename Matrix5x5::value_type *ty, typename Matrix5x5::value_type *tz) |
Simple hue rotation. This changes luminance. | |
template<class Matrix5x5 > | |
Matrix5x5 | terry::color::hueRotateMatrix (const typename Matrix5x5::value_type rotate) |
rotate the hue, while maintaining luminance. | |
Variables | |
static const double | terry::color::s_redLum = 0.3086 |
static const double | terry::color::s_greenLum = 0.6094 |
static const double | terry::color::s_blueLum = 0.0820 |