#include <hsl.hh>
Public Types | |
typedef Object< void > | category |
typedef hsl_< H, S, L > | exact_t |
typedef H | h_type |
typedef L | l_type |
typedef S | s_type |
Public Member Functions | |
hsl_ () | |
Constructor without argument. | |
hsl_ (const literal::zero_t &) | |
hsl_ (const H &hue, const S &sat, const L &lum) | |
Constructor from component values. | |
const H & | hue () const |
Read-only access to the hue component. | |
H & | hue () |
Read-write access to the hue component. | |
L & | lum () |
const L & | lum () const |
S & | sat () |
const S & | sat () const |
Private Attributes | |
H | hue_ |
L | lum_ |
S | sat_ |
typedef Object<void> mln::Object< hsl_< H, S, L > >::category [inherited] |
typedef hsl_< H, S, L > mln::Object< hsl_< H, S, L > >::exact_t [inherited] |
typedef H mln::value::hsl_< H, S, L >::h_type |
typedef L mln::value::hsl_< H, S, L >::l_type |
typedef S mln::value::hsl_< H, S, L >::s_type |
mln::value::hsl_< H, S, L >::hsl_ | ( | ) | [inline] |
Constructor without argument.
mln::value::hsl_< H, S, L >::hsl_ | ( | const literal::zero_t & | ) | [inline] |
mln::value::hsl_< H, S, L >::hsl_ | ( | const H & | hue, | |
const S & | sat, | |||
const L & | lum | |||
) | [inline] |
Constructor from component values.
const H & mln::value::hsl_< H, S, L >::hue | ( | ) | const |
Read-only access to the hue component.
References mln::value::hsl_< H, S, L >::hue_.
Referenced by mln::value::operator*(), mln::value::operator+(), mln::value::operator-(), mln::value::operator/(), and mln::value::operator==().
H & mln::value::hsl_< H, S, L >::hue | ( | ) |
Read-write access to the hue component.
References mln::value::hsl_< H, S, L >::hue_.
L & mln::value::hsl_< H, S, L >::lum | ( | ) |
References mln::value::hsl_< H, S, L >::lum_.
const L & mln::value::hsl_< H, S, L >::lum | ( | ) | const |
References mln::value::hsl_< H, S, L >::lum_.
Referenced by mln::value::operator*(), mln::value::operator+(), mln::value::operator-(), mln::value::operator/(), and mln::value::operator==().
const S & mln::value::hsl_< H, S, L >::sat | ( | ) | const |
References mln::value::hsl_< H, S, L >::sat_.
Referenced by mln::value::operator*(), mln::value::operator+(), mln::value::operator-(), mln::value::operator/(), and mln::value::operator==().
S & mln::value::hsl_< H, S, L >::sat | ( | ) |
References mln::value::hsl_< H, S, L >::sat_.
H mln::value::hsl_< H, S, L >::hue_ [private] |
Referenced by mln::value::hsl_< H, S, L >::hue().
L mln::value::hsl_< H, S, L >::lum_ [private] |
Referenced by mln::value::hsl_< H, S, L >::lum().
S mln::value::hsl_< H, S, L >::sat_ [private] |
Referenced by mln::value::hsl_< H, S, L >::sat().