TuttleOFX
1
|
#include <ramp.hpp>
Public Types | |
typedef boost::gil::point2 < double > | point_t |
typedef RampFunctor | const_t |
typedef Pixel | value_type |
typedef value_type | reference |
typedef value_type | const_reference |
typedef point_t | argument_type |
typedef reference | result_type |
typedef contains_color< Pixel, red_t >::type | hasRGBChannel |
typedef contains_color< Pixel, gray_color_t >::type | hasAlphaChannel |
Public Member Functions | |
BOOST_STATIC_CONSTANT (bool, is_mutable=false) | |
RampFunctor () | |
RampFunctor (const point_t &tileSize, const value_type &start_color, const value_type &end_color, bool horizontal=true, bool _multiColor=false) | |
Pixel | operator() (const point_t &p) const |
Data Fields | |
point_t | _tile_size |
value_type | _start_color |
value_type | _end_color |
bool | _horizontal |
bool | _multiColor |
typedef point_t terry::generator::RampFunctor< Pixel >::argument_type |
typedef value_type terry::generator::RampFunctor< Pixel >::const_reference |
typedef RampFunctor terry::generator::RampFunctor< Pixel >::const_t |
typedef contains_color<Pixel, gray_color_t>::type terry::generator::RampFunctor< Pixel >::hasAlphaChannel |
typedef contains_color<Pixel, red_t>::type terry::generator::RampFunctor< Pixel >::hasRGBChannel |
typedef boost::gil::point2<double> terry::generator::RampFunctor< Pixel >::point_t |
typedef value_type terry::generator::RampFunctor< Pixel >::reference |
typedef reference terry::generator::RampFunctor< Pixel >::result_type |
typedef Pixel terry::generator::RampFunctor< Pixel >::value_type |
terry::generator::RampFunctor< Pixel >::RampFunctor | ( | ) | [inline] |
terry::generator::RampFunctor< Pixel >::RampFunctor | ( | const point_t & | tileSize, |
const value_type & | start_color, | ||
const value_type & | end_color, | ||
bool | horizontal = true , |
||
bool | _multiColor = false |
||
) | [inline] |
terry::generator::RampFunctor< Pixel >::BOOST_STATIC_CONSTANT | ( | bool | , |
is_mutable | = false |
||
) |
Pixel terry::generator::RampFunctor< Pixel >::operator() | ( | const point_t & | p | ) | const [inline] |
Definition at line 92 of file ramp.hpp.
References terry::generator::RampFunctor< Pixel >::_end_color, terry::generator::RampFunctor< Pixel >::_horizontal, terry::generator::RampFunctor< Pixel >::_multiColor, terry::generator::RampFunctor< Pixel >::_start_color, terry::generator::RampFunctor< Pixel >::_tile_size, and terry::generator::clearChannel().
value_type terry::generator::RampFunctor< Pixel >::_end_color |
Definition at line 78 of file ramp.hpp.
Referenced by terry::generator::RampFunctor< Pixel >::operator()().
bool terry::generator::RampFunctor< Pixel >::_horizontal |
Definition at line 80 of file ramp.hpp.
Referenced by terry::generator::RampFunctor< Pixel >::operator()().
bool terry::generator::RampFunctor< Pixel >::_multiColor |
Definition at line 81 of file ramp.hpp.
Referenced by terry::generator::RampFunctor< Pixel >::operator()().
value_type terry::generator::RampFunctor< Pixel >::_start_color |
Definition at line 77 of file ramp.hpp.
Referenced by terry::generator::RampFunctor< Pixel >::operator()().
point_t terry::generator::RampFunctor< Pixel >::_tile_size |
Definition at line 75 of file ramp.hpp.
Referenced by terry::generator::RampFunctor< Pixel >::operator()().