TuttleOFX  1
terry::generator::RainbowFunctor< Pixel > Struct Template Reference

#include <rainbow.hpp>

Public Types

typedef boost::gil::point2
< double > 
point_t
typedef RainbowFunctor const_t
typedef Pixel value_type
typedef value_type reference
typedef value_type const_reference
typedef point_t argument_type
typedef reference result_type

Public Member Functions

 BOOST_STATIC_CONSTANT (bool, is_mutable=false)
 RainbowFunctor ()
 RainbowFunctor (const point_t &tileSize)
Pixel operator() (const point_t &p) const

Data Fields

point_t tile_size
double scale

Detailed Description

template<typename Pixel>
struct terry::generator::RainbowFunctor< Pixel >

Definition at line 21 of file rainbow.hpp.


Member Typedef Documentation

template<typename Pixel >
typedef point_t terry::generator::RainbowFunctor< Pixel >::argument_type

Definition at line 30 of file rainbow.hpp.

template<typename Pixel >
typedef value_type terry::generator::RainbowFunctor< Pixel >::const_reference

Definition at line 29 of file rainbow.hpp.

template<typename Pixel >
typedef RainbowFunctor terry::generator::RainbowFunctor< Pixel >::const_t

Definition at line 26 of file rainbow.hpp.

template<typename Pixel >
typedef boost::gil::point2<double> terry::generator::RainbowFunctor< Pixel >::point_t

Definition at line 24 of file rainbow.hpp.

template<typename Pixel >
typedef value_type terry::generator::RainbowFunctor< Pixel >::reference

Definition at line 28 of file rainbow.hpp.

template<typename Pixel >
typedef reference terry::generator::RainbowFunctor< Pixel >::result_type

Definition at line 31 of file rainbow.hpp.

template<typename Pixel >
typedef Pixel terry::generator::RainbowFunctor< Pixel >::value_type

Definition at line 27 of file rainbow.hpp.


Constructor & Destructor Documentation

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

Definition at line 37 of file rainbow.hpp.

template<typename Pixel >
terry::generator::RainbowFunctor< Pixel >::RainbowFunctor ( const point_t tileSize) [inline]

Definition at line 38 of file rainbow.hpp.


Member Function Documentation

template<typename Pixel >
terry::generator::RainbowFunctor< Pixel >::BOOST_STATIC_CONSTANT ( bool  ,
is_mutable  = false 
)
template<typename Pixel >
Pixel terry::generator::RainbowFunctor< Pixel >::operator() ( const point_t p) const [inline]

Definition at line 43 of file rainbow.hpp.

References boost::gil::color_convert(), and terry::generator::RainbowFunctor< Pixel >::tile_size.

Here is the call graph for this function:


Field Documentation

template<typename Pixel >
double terry::generator::RainbowFunctor< Pixel >::scale

Definition at line 35 of file rainbow.hpp.

template<typename Pixel >
point_t terry::generator::RainbowFunctor< Pixel >::tile_size

Definition at line 34 of file rainbow.hpp.

Referenced by terry::generator::RainbowFunctor< Pixel >::operator()().


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