TuttleOFX
1
|
#include <TetraInterpolator.hpp>
Public Member Functions | |
TetraInterpolator () | |
Color | interpolate (const AbstractLut *lut, const double x, const double y, const double z) const |
Definition at line 10 of file TetraInterpolator.hpp.
tuttle::TetraInterpolator::TetraInterpolator | ( | ) | [inline] |
Definition at line 13 of file TetraInterpolator.hpp.
Color tuttle::TetraInterpolator::interpolate | ( | const AbstractLut * | lut, |
const double | x, | ||
const double | y, | ||
const double | z | ||
) | const [virtual] |
Implements tuttle::Interpolator.
Definition at line 15 of file TetraInterpolator.cpp.
References tuttle::clamp(), tuttle::AbstractLut::dimSize(), tuttle::AbstractLut::getIndexedColor(), tuttle::Color::x, tuttle::Color::y, and tuttle::Color::z.