MCL
Minimalistic Color Library
 All Classes Files
interpolation.hh File Reference
+ Include dependency graph for interpolation.hh:
+ This graph shows which files directly or indirectly include this file:

Typedefs

template<typename T >
using Interpolation = std::function< T(T const &, T const &, double)>
 

Functions

template<typename T >
interpolate (T const &, T const &, double)
 
template<>
CMY interpolate (CMY const &c1, CMY const &c2, double f)
 
template<>
CMYK interpolate (CMYK const &c1, CMYK const &c2, double f)
 
template<>
HSL interpolate (HSL const &c1, HSL const &c2, double f)
 
template<>
HSV interpolate (HSV const &c1, HSV const &c2, double f)
 
template<>
LAB interpolate (LAB const &c1, LAB const &c2, double f)
 
template<>
LCH interpolate (LCH const &c1, LCH const &c2, double f)
 
template<>
RGB interpolate (RGB const &c1, RGB const &c2, double f)
 
template<>
RGBf interpolate (RGBf const &c1, RGBf const &c2, double f)
 
template<>
RGBub interpolate (RGBub const &c1, RGBub const &c2, double f)
 
template<>
XYZ interpolate (XYZ const &c1, XYZ const &c2, double f)
 
template<typename T >
Color interpolate (const Color &, const Color &, double)
 
Color interpolate (SpaceType s, const Color &, const Color &, double)
 
template<typename T >
Color interpolate (const Color &, const Color &, double, const Environment &)
 
Color interpolate (SpaceType s, const Color &c1, const Color &c2, double f, const Environment &e)
 
template<typename T >
Interpolation< Color > interpolation ()
 
Interpolation< Color > interpolation (SpaceType)
 
template<typename T >
Interpolation< Color > interpolation (const Environment &)
 
Interpolation< Color > interpolation (SpaceType, const Environment &)