TuttleOFX  1
terry::numeric::pixel_clamp_lower_than_t< Pixel > Struct Template Reference

#include <clamp.hpp>

Public Types

typedef channel_type< Pixel >::type Channel

Public Member Functions

 pixel_clamp_lower_than_t (const Channel threshold, const Channel replace)
GIL_FORCEINLINE Pixel operator() (const Pixel &p) const

Data Fields

Channel _threshold
Channel _replace

Detailed Description

template<typename Pixel>
struct terry::numeric::pixel_clamp_lower_than_t< Pixel >

Definition at line 29 of file clamp.hpp.


Member Typedef Documentation

template<typename Pixel >
typedef channel_type<Pixel>::type terry::numeric::pixel_clamp_lower_than_t< Pixel >::Channel

Definition at line 31 of file clamp.hpp.


Constructor & Destructor Documentation

template<typename Pixel >
terry::numeric::pixel_clamp_lower_than_t< Pixel >::pixel_clamp_lower_than_t ( const Channel  threshold,
const Channel  replace 
) [inline]

Definition at line 35 of file clamp.hpp.


Member Function Documentation

template<typename Pixel >
GIL_FORCEINLINE Pixel terry::numeric::pixel_clamp_lower_than_t< Pixel >::operator() ( const Pixel &  p) const [inline]

Field Documentation

template<typename Pixel >
Channel terry::numeric::pixel_clamp_lower_than_t< Pixel >::_replace

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