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

#include <mln/value/graylevel_f.hh>

Public Member Functions

 graylevel_f ()
 graylevel_f (const graylevel_f &rhs)
 graylevel_f (float val)
template<unsigned n>
 graylevel_f (const graylevel< n > &rhs)
C & handle_ ()
template<unsigned n>
 operator graylevel< n > () const
graylevel_foperator= (const graylevel_f &rhs)
graylevel_foperator= (float val)
template<unsigned n>
graylevel_foperator= (const graylevel< n > &rhs)
const C & to_enc () const
to_equiv () const
to_interop () const
float value () const
 graylevel_f (const mln::literal::black_t &)
 graylevel_f (const mln::literal::medium_gray_t &)
 graylevel_f (const mln::literal::white_t &)
graylevel_foperator= (const mln::literal::black_t &)
graylevel_foperator= (const mln::literal::medium_gray_t &)
graylevel_foperator= (const mln::literal::white_t &)

Protected Attributes

enc v_

Public Types

typedef Floating< void > category
typedef C enc
typedef V equiv
typedef graylevel_f exact_t
typedef N interop

Detailed Description

General gray-level class on n bits.

Definition at line 215 of file graylevel_f.hh.

Constructor & Destructor Documentation

mln::value::graylevel_f::graylevel_f ( )
inline

Constructor without argument.

Definition at line 46 of file graylevel_f.hxx.

mln::value::graylevel_f::graylevel_f ( const graylevel_f rhs)
inline

Copy constructor.

Definition at line 88 of file graylevel_f.hxx.

mln::value::graylevel_f::graylevel_f ( float  val)
inline

Constructor from float.

Definition at line 52 of file graylevel_f.hxx.

template<unsigned n>
mln::value::graylevel_f::graylevel_f ( const graylevel< n > &  rhs)

Constructor from graylevel.

Definition at line 70 of file graylevel_f.hxx.

mln::value::graylevel_f::graylevel_f ( const mln::literal::black_t )
inline

Ctors with literals.

Definition at line 105 of file graylevel_f.hxx.

mln::value::graylevel_f::graylevel_f ( const mln::literal::medium_gray_t )
inline

Definition at line 119 of file graylevel_f.hxx.

mln::value::graylevel_f::graylevel_f ( const mln::literal::white_t )
inline

Definition at line 133 of file graylevel_f.hxx.

Member Function Documentation

template<typename V, typename C, typename N, typename E>
C& mln::value::internal::value_like_< V, C, N, E >::handle_ ( )
inlineinherited

Definition at line 81 of file value_like.hh.

template<unsigned n>
mln::value::graylevel_f::operator graylevel< n > ( ) const
inline

Conversion to graylevel<n>.

Definition at line 148 of file graylevel_f.hxx.

graylevel_f & mln::value::graylevel_f::operator= ( const graylevel_f rhs)
inline

Assigment.

Definition at line 96 of file graylevel_f.hxx.

graylevel_f & mln::value::graylevel_f::operator= ( float  val)
inline

Assigment with float.

Definition at line 61 of file graylevel_f.hxx.

template<unsigned n>
graylevel_f & mln::value::graylevel_f::operator= ( const graylevel< n > &  rhs)

Assigment with graylevel.

Definition at line 79 of file graylevel_f.hxx.

graylevel_f & mln::value::graylevel_f::operator= ( const mln::literal::black_t )
inline

Assigment with literals.

Definition at line 112 of file graylevel_f.hxx.

graylevel_f & mln::value::graylevel_f::operator= ( const mln::literal::medium_gray_t )
inline

Definition at line 126 of file graylevel_f.hxx.

graylevel_f & mln::value::graylevel_f::operator= ( const mln::literal::white_t )
inline

Definition at line 140 of file graylevel_f.hxx.

template<typename V, typename C, typename N, typename E>
const C& mln::value::internal::value_like_< V, C, N, E >::to_enc ( ) const
inherited

Explicit conversion towards encoding type.

template<typename V, typename C, typename N, typename E>
V mln::value::internal::value_like_< V, C, N, E >::to_equiv ( ) const
inherited

Explicit conversion towards equivalent type.

template<typename V, typename C, typename N, typename E>
N mln::value::internal::value_like_< V, C, N, E >::to_interop ( ) const
inherited

Explicit conversion towards interoperation type.

float mln::value::graylevel_f::value ( ) const
inline

Access to std type.

Definition at line 155 of file graylevel_f.hxx.

Member Data Documentation

template<typename V, typename C, typename N, typename E>
enc mln::value::internal::value_like_< V, C, N, E >::v_
protectedinherited

Definition at line 84 of file value_like.hh.

Member Typedef Documentation

typedef Floating<void> mln::value::Floating< graylevel_f >::category
inherited

Definition at line 64 of file floating.hh.

template<typename V, typename C, typename N, typename E>
typedef C mln::value::internal::value_like_< V, C, N, E >::enc
inherited

Encoding associated type.

Definition at line 65 of file value_like.hh.

template<typename V, typename C, typename N, typename E>
typedef V mln::value::internal::value_like_< V, C, N, E >::equiv
inherited

Equivalent associated type.

Definition at line 62 of file value_like.hh.

typedef graylevel_f mln::Object< graylevel_f >::exact_t
inherited

Definition at line 105 of file object.hh.

template<typename V, typename C, typename N, typename E>
typedef N mln::value::internal::value_like_< V, C, N, E >::interop
inherited

Interoperation associated type.

Definition at line 68 of file value_like.hh.