HDK
|
#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 () |
int | downRefCount () |
UT_LUT::~UT_LUT | ( | ) |
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.