TuttleOFX  1
terry::clamp_converter< Pixel > Struct Template Reference

#include <clamp.hpp>

Public Types

typedef
boost::gil::channel_type
< Pixel >::type 
Channel

Public Member Functions

 clamp_converter ()
 clamp_converter (const Channel min, const Channel max)
GIL_FORCEINLINE void operator() (const Pixel &src, Pixel &dst) const

Data Fields

const Channel _min
const Channel _max

Detailed Description

template<typename Pixel>
struct terry::clamp_converter< Pixel >

Definition at line 29 of file clamp.hpp.


Member Typedef Documentation

template<typename Pixel >
typedef boost::gil::channel_type<Pixel>::type terry::clamp_converter< Pixel >::Channel

Definition at line 31 of file clamp.hpp.


Constructor & Destructor Documentation

template<typename Pixel >
terry::clamp_converter< Pixel >::clamp_converter ( ) [inline]

Definition at line 36 of file clamp.hpp.

template<typename Pixel >
terry::clamp_converter< Pixel >::clamp_converter ( const Channel  min,
const Channel  max 
) [inline]

Definition at line 41 of file clamp.hpp.


Member Function Documentation

template<typename Pixel >
GIL_FORCEINLINE void terry::clamp_converter< Pixel >::operator() ( const Pixel &  src,
Pixel &  dst 
) const [inline]

Definition at line 47 of file clamp.hpp.

References terry::clamp_converter< Pixel >::_max, terry::clamp_converter< Pixel >::_min, and terry::algorithm::static_for_each().

Here is the call graph for this function:


Field Documentation

template<typename Pixel >
const Channel terry::clamp_converter< Pixel >::_max

Definition at line 34 of file clamp.hpp.

Referenced by terry::clamp_converter< Pixel >::operator()().

template<typename Pixel >
const Channel terry::clamp_converter< Pixel >::_min

Definition at line 33 of file clamp.hpp.

Referenced by terry::clamp_converter< Pixel >::operator()().


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