|
TuttleOFX
1
|
#include <clamp.hpp>
Public Types | |
| typedef channel_base_type < Channel >::type | ChannelBaseType |
Public Member Functions | |
| channel_clamp (const Channel min, const Channel max) | |
| GIL_FORCEINLINE void | operator() (const Channel &src, Channel &dst) const |
Data Fields | |
| const ChannelBaseType | _min |
| const ChannelBaseType | _max |
| typedef channel_base_type<Channel>::type terry::channel_clamp< Channel >::ChannelBaseType |
| terry::channel_clamp< Channel >::channel_clamp | ( | const Channel | min, |
| const Channel | max | ||
| ) | [inline] |
| GIL_FORCEINLINE void terry::channel_clamp< Channel >::operator() | ( | const Channel & | src, |
| Channel & | dst | ||
| ) | const [inline] |
Definition at line 22 of file clamp.hpp.
References terry::channel_clamp< Channel >::_max, terry::channel_clamp< Channel >::_min, tuttle::max(), and tuttle::min().

| const ChannelBaseType terry::channel_clamp< Channel >::_max |
Definition at line 14 of file clamp.hpp.
Referenced by terry::channel_clamp< Channel >::operator()().
| const ChannelBaseType terry::channel_clamp< Channel >::_min |
Definition at line 13 of file clamp.hpp.
Referenced by terry::channel_clamp< Channel >::operator()().