Public Types | Public Member Functions

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 f_hsl_to_rgb_< T_rgb > 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

typedef Function_v2v<void> mln::Function_v2v< f_hsl_to_rgb_< T_rgb > >::category [inherited]

Reimplemented from mln::Function< f_hsl_to_rgb_< T_rgb > >.

Definition at line 126 of file function.hh.

typedef f_hsl_to_rgb_< T_rgb > mln::Object< f_hsl_to_rgb_< T_rgb > >::exact_t [inherited]

Definition at line 173 of file object.hh.

typedef void mln::Function_v2v< f_hsl_to_rgb_< T_rgb > >::mutable_result [inherited]

Definition at line 127 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 105 of file hsl_to_rgb.hh.