#include <UT_LUT.h>
Public Member Functions | |
| UT_LUT (fpreal val, int size, float(*eval)(float val, float t)=0) | |
| UT_LUT (int size, float(*eval)(float t)=0) | |
| ~UT_LUT () | |
| void | buildConformalWarp (const UT_LUT &src) |
| void | buildLUT (float(*eval)(float val, float t)) |
| void | buildLUT (float(*eval)(float t)) |
| void | setValue (fpreal v) |
| fpreal | getValue () const |
| int | getSize () const |
| fpreal | getFSize () const |
| fpreal | operator() (int i) const |
| fpreal | fastValue (fpreal t) const |
| fpreal | safeValue (fpreal t) const |
| fpreal | lerpFast (fpreal t) const |
| fpreal | lerpSafe (fpreal t) const |
| int | getLUTSize () const |
| fpreal * | getRawLUT () |
| void | bumpRefCount (void) |
| int | downRefCount (void) |
Definition at line 36 of file UT_LUT.h.
| UT_LUT::UT_LUT | ( | int | size, | |
| float(*)(float t) | eval = 0 | |||
| ) | [explicit] |
| UT_LUT::~UT_LUT | ( | ) |
| void UT_LUT::buildConformalWarp | ( | const UT_LUT & | src | ) |
Given a LUT defining a function which is already parametrized from 0 to 1, we then compute the "inverse" warp LUT which performs an equal-area warp from the unit parametrization to the map.
| void UT_LUT::buildLUT | ( | float(*)(float t) | eval | ) |
| void UT_LUT::buildLUT | ( | float(*)(float val, float t) | eval | ) |
1.5.9