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

#include <mln/value/internal/gray_f.hh>

Public Member Functions

 gray_f ()
C & handle_ ()
template<unsigned m>
 operator gray_< m > () const
template<unsigned m>
 operator graylevel< m > () const
 operator graylevel_f () const
const C & to_enc () const
to_equiv () const
to_interop () const
float value () const
 gray_f (const gray_f &rhs)
gray_foperator= (const gray_f &rhs)
template<unsigned n>
 gray_f (const gray_< n > &rhs)
template<unsigned n>
gray_foperator= (const gray_< n > &rhs)
 gray_f (float val)
gray_foperator= (float val)
 gray_f (const graylevel_f &val)
gray_foperator= (const graylevel_f &val)

Protected Attributes

enc v_

Public Types

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

Detailed Description

General gray-level class on n bits.

Definition at line 163 of file gray_f.hh.

Constructor & Destructor Documentation

mln::value::internal::gray_f::gray_f ( )
inline

Constructor without argument.

Definition at line 51 of file gray_f.hxx.

mln::value::internal::gray_f::gray_f ( const gray_f rhs)
inline

Constructors/assigments with gray_f.

Definition at line 56 of file gray_f.hxx.

template<unsigned n>
mln::value::internal::gray_f::gray_f ( const gray_< n > &  rhs)

Constructors/assigments with gray_<n>.

Definition at line 71 of file gray_f.hxx.

mln::value::internal::gray_f::gray_f ( float  val)
inline

Constructors/assigments with float.

Definition at line 89 of file gray_f.hxx.

mln::value::internal::gray_f::gray_f ( const graylevel_f val)
inline

Constructors/assigments with graylevel_f.

Definition at line 103 of file gray_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 m>
mln::value::internal::gray_f::operator gray_< m > ( ) const
inline

Conversion to gray_<n>

Definition at line 127 of file gray_f.hxx.

template<unsigned m>
mln::value::internal::gray_f::operator graylevel< m > ( ) const
inline

Conversion to graylevel<n>

Definition at line 118 of file gray_f.hxx.

mln::value::internal::gray_f::operator graylevel_f ( ) const
inline

Conversion to graylevel_f.

Definition at line 134 of file gray_f.hxx.

gray_f & mln::value::internal::gray_f::operator= ( const gray_f rhs)
inline

Definition at line 64 of file gray_f.hxx.

template<unsigned n>
gray_f & mln::value::internal::gray_f::operator= ( const gray_< n > &  rhs)

Definition at line 80 of file gray_f.hxx.

gray_f & mln::value::internal::gray_f::operator= ( float  val)
inline

Definition at line 96 of file gray_f.hxx.

gray_f & mln::value::internal::gray_f::operator= ( const graylevel_f val)
inline

Definition at line 110 of file gray_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::internal::gray_f::value ( ) const
inline

Access to std type.

Definition at line 141 of file gray_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< gray_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 gray_f mln::Object< gray_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.