mln::fun::v2v::f_hsl_to_rgb_< T_rgb > Struct Template Reference

Convert hsl values to rgb. More...

#include <hsl_to_rgb.hh>

Inheritance diagram for mln::fun::v2v::f_hsl_to_rgb_< T_rgb >:

Inheritance graph

List of all members.

Public Types

typedef Function_v2v< void > category
typedef E exact_t
typedef void mutable_result
typedef T_rgb result

Public Member Functions

template<typename T_hsl>
T_rgb operator() (const T_hsl &hsl) const
 This method implements the conversion from HSL to RGB as described by Max K.


Detailed Description

template<typename T_rgb>
struct mln::fun::v2v::f_hsl_to_rgb_< T_rgb >

Convert hsl values to rgb.

Definition at line 70 of file hsl_to_rgb.hh.


Member Typedef Documentation

template<typename E>
typedef Function_v2v<void> mln::Function_v2v< E >::category [inherited]

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.

template<typename E>
typedef void mln::Function_v2v< E >::mutable_result [inherited]

Reimplemented in mln::util::array< T >.

Definition at line 94 of file function.hh.

template<typename T_rgb>
typedef T_rgb mln::fun::v2v::f_hsl_to_rgb_< T_rgb >::result

Definition at line 72 of file hsl_to_rgb.hh.


Member Function Documentation

template<typename T_rgb>
template<typename T_hsl>
T_rgb mln::fun::v2v::f_hsl_to_rgb_< T_rgb >::operator() ( const T_hsl &  hsl  )  const [inline]

This method implements the conversion from HSL to RGB as described by Max K.

Agoston in `Computer Graphics and Geometric Modeling: Implementation and Algorithms (2005)'.

Definition at line 102 of file hsl_to_rgb.hh.


Generated on Sun Apr 25 02:01:48 2010 for Milena (Olena) by  doxygen 1.5.6