SPH
|
Approximation of generic function by look-up table. More...
Go to the source code of this file.
Classes | |
class | LutIterator< TValue, TScalar > |
struct | LutIterator< TValue, TScalar >::Value |
class | Lut< TValue, TScalar > |
Callable representing a generic R->T function, approximated using look-up table. More... | |
Functions | |
template<typename TValue , typename TScalar , typename TBinaryOp > | |
Lut< TValue, TScalar > | lutOperation (const Lut< TValue, TScalar > &lut1, const Lut< TValue, TScalar > &lut2, const TBinaryOp &op) |
Returns a LUT given by a generic binary operator. More... | |
template<typename TValue , typename TScalar , typename TBinaryOp > | |
Lut< TValue, TScalar > | lutOperation (const Lut< TValue, TScalar > &lut, const TScalar &value, const TBinaryOp &op) |
Returns a LUT given by an operation between a given LUT and a scalar. More... | |
template<typename TValue , typename TScalar > | |
Lut< TValue, TScalar > | operator+ (const Lut< TValue, TScalar > &lut1, const Lut< TValue, TScalar > &lut2) |
template<typename TValue , typename TScalar > | |
Lut< TValue, TScalar > | operator- (const Lut< TValue, TScalar > &lut1, const Lut< TValue, TScalar > &lut2) |
template<typename TValue , typename TScalar > | |
Lut< TValue, TScalar > | operator* (const Lut< TValue, TScalar > &lut1, const Lut< TValue, TScalar > &lut2) |
template<typename TValue , typename TScalar > | |
Lut< TValue, TScalar > | operator/ (const Lut< TValue, TScalar > &lut1, const Lut< TValue, TScalar > &lut2) |
template<typename TValue , typename TScalar > | |
Lut< TValue, TScalar > | operator+ (const Lut< TValue, TScalar > &lut1, const TScalar &mult) |
template<typename TValue , typename TScalar > | |
Lut< TValue, TScalar > | operator- (const Lut< TValue, TScalar > &lut1, const TScalar &mult) |
template<typename TValue , typename TScalar > | |
Lut< TValue, TScalar > | operator* (const Lut< TValue, TScalar > &lut1, const TScalar &mult) |
template<typename TValue , typename TScalar > | |
Lut< TValue, TScalar > | operator/ (const Lut< TValue, TScalar > &lut1, const TScalar &mult) |