Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::gil::color_convert_deref_fn< SrcConstRefP, DstP, CC > Class Template Reference

Function object that given a source pixel, returns it converted to a given color space and channel depth. More...

#include <image_view_factory.hpp>

Inheritance diagram for boost::gil::color_convert_deref_fn< SrcConstRefP, DstP, CC >:
Collaboration diagram for boost::gil::color_convert_deref_fn< SrcConstRefP, DstP, CC >:

Public Types

typedef color_convert_deref_fn
< SrcConstRefP, DstP, CC > 
const_t
 
typedef DstP value_type
 
typedef DstP reference
 
typedef const DstP & const_reference
 

Public Member Functions

 color_convert_deref_fn ()
 
 color_convert_deref_fn (CC cc_in)
 
DstP operator() (SrcConstRefP srcP) const
 
 BOOST_STATIC_CONSTANT (bool, is_mutable=IsMutable)
 

Detailed Description

template<typename SrcConstRefP, typename DstP, typename CC = default_color_converter>
class boost::gil::color_convert_deref_fn< SrcConstRefP, DstP, CC >

Function object that given a source pixel, returns it converted to a given color space and channel depth.

Models: PixelDereferenceAdaptorConcept

Useful in constructing a color converted view over a given image view

Member Typedef Documentation

typedef const DstP & boost::gil::deref_base< color_convert_deref_fn< SrcConstRefP, DstP, CC > , DstP , DstP , const DstP & , SrcConstRefP , DstP , IsMutable >::const_reference
inherited
typedef color_convert_deref_fn< SrcConstRefP, DstP, CC > boost::gil::deref_base< color_convert_deref_fn< SrcConstRefP, DstP, CC > , DstP , DstP , const DstP & , SrcConstRefP , DstP , IsMutable >::const_t
inherited
typedef DstP boost::gil::deref_base< color_convert_deref_fn< SrcConstRefP, DstP, CC > , DstP , DstP , const DstP & , SrcConstRefP , DstP , IsMutable >::reference
inherited
typedef DstP boost::gil::deref_base< color_convert_deref_fn< SrcConstRefP, DstP, CC > , DstP , DstP , const DstP & , SrcConstRefP , DstP , IsMutable >::value_type
inherited

Constructor & Destructor Documentation

template<typename SrcConstRefP , typename DstP , typename CC = default_color_converter>
boost::gil::color_convert_deref_fn< SrcConstRefP, DstP, CC >::color_convert_deref_fn ( )
inline
template<typename SrcConstRefP , typename DstP , typename CC = default_color_converter>
boost::gil::color_convert_deref_fn< SrcConstRefP, DstP, CC >::color_convert_deref_fn ( CC  cc_in)
inline

Member Function Documentation

boost::gil::deref_base< color_convert_deref_fn< SrcConstRefP, DstP, CC > , DstP , DstP , const DstP & , SrcConstRefP , DstP , IsMutable >::BOOST_STATIC_CONSTANT ( bool  ,
is_mutable  = IsMutable 
)
inherited
template<typename SrcConstRefP , typename DstP , typename CC = default_color_converter>
DstP boost::gil::color_convert_deref_fn< SrcConstRefP, DstP, CC >::operator() ( SrcConstRefP  srcP) const
inline

The documentation for this class was generated from the following file: