glm::gtx::color_space Namespace Reference

GLM_GTX_color_space extension: Related to RGB to HSV conversions and operations. More...

Functions

template<typename valType >
detail::tvec3< valType > hsvColor (detail::tvec3< valType > const &rgbValue)
 Converts a color from RGB color space to its color in HSV color space.
template<typename valType >
valType luminosity (detail::tvec3< valType > const &color)
 Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals.
template<typename valType >
detail::tvec3< valType > rgbColor (detail::tvec3< valType > const &hsvValue)
 Converts a color from HSV color space to its color in RGB color space.
template<typename valType >
detail::tvec4< valType > saturation (valType const s, detail::tvec4< valType > const &color)
 Modify the saturation of a color.
template<typename valType >
detail::tvec3< valType > saturation (valType const s, detail::tvec3< valType > const &color)
 Modify the saturation of a color.
template<typename valType >
detail::tmat4x4< valType > saturation (valType const s)
 Build a saturation matrix.

Detailed Description

GLM_GTX_color_space extension: Related to RGB to HSV conversions and operations.


Function Documentation

detail::tvec3<valType> glm::gtx::color_space::hsvColor ( detail::tvec3< valType > const &  rgbValue  ) 

Converts a color from RGB color space to its color in HSV color space.

From GLM_GTX_color_space extension.

valType glm::gtx::color_space::luminosity ( detail::tvec3< valType > const &  color  ) 

Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals.

From GLM_GTX_color_space extension.

detail::tvec3<valType> glm::gtx::color_space::rgbColor ( detail::tvec3< valType > const &  hsvValue  ) 

Converts a color from HSV color space to its color in RGB color space.

From GLM_GTX_color_space extension.

detail::tvec4<valType> glm::gtx::color_space::saturation ( valType const   s,
detail::tvec4< valType > const &  color 
)

Modify the saturation of a color.

From GLM_GTX_color_space extension.

detail::tvec3<valType> glm::gtx::color_space::saturation ( valType const   s,
detail::tvec3< valType > const &  color 
)

Modify the saturation of a color.

From GLM_GTX_color_space extension.

detail::tmat4x4<valType> glm::gtx::color_space::saturation ( valType const   s  ) 

Build a saturation matrix.

From GLM_GTX_color_space extension


Generated on Mon Nov 16 11:23:24 2009 for GLM by  doxygen 1.6.1