$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::value::hsl_f Class Reference

#include <mln/value/hsl.hh>

Public Member Functions

 hsl_f ()
 hsl_f (const literal::zero_t &)
 hsl_f (const H &hue, const S &sat, const L &lum)
const floathue () const
floathue ()
const floatlum () const
floatlum ()
const floatsat () const
floatsat ()

Public Types

typedef Object< void > category
typedef E exact_t
typedef float h_type
typedef float l_type
typedef float s_type

Detailed Description

HSL color based on float encoding.

Definition at line 8 of file hsl.dox.

Constructor & Destructor Documentation

mln::value::hsl_f::hsl_f ( )

Constructor without argument.

mln::value::hsl_f::hsl_f ( const literal::zero_t )

Contruct a HSL color with (0,0,0) as value.

mln::value::hsl_f::hsl_f ( const H &  hue,
const S &  sat,
const L &  lum 
)

Constructor from component values.

Member Function Documentation

const float & mln::value::hsl_< float , float , float >::hue ( ) const
inherited

Read-only access to the hue component.

float & mln::value::hsl_< float , float , float >::hue ( )
inherited

Read-write access to the hue component.

const float & mln::value::hsl_< float , float , float >::lum ( ) const
inherited
float & mln::value::hsl_< float , float , float >::lum ( )
inherited
const float & mln::value::hsl_< float , float , float >::sat ( ) const
inherited
float & mln::value::hsl_< float , float , float >::sat ( )
inherited

Member Typedef Documentation

template<typename E>
typedef Object<void> mln::Object< E >::category
inherited

Definition at line 106 of file object.hh.

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

Definition at line 105 of file object.hh.

typedef float mln::value::hsl_< float , float , float >::h_type
inherited

Definition at line 142 of file hsl.hh.

typedef float mln::value::hsl_< float , float , float >::l_type
inherited

Definition at line 144 of file hsl.hh.

typedef float mln::value::hsl_< float , float , float >::s_type
inherited

Definition at line 143 of file hsl.hh.