UT_LUT Class Reference

#include <UT_LUT.h>

List of all members.

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
fprealgetRawLUT ()
void bumpRefCount (void)
int downRefCount (void)


Detailed Description

Definition at line 36 of file UT_LUT.h.


Constructor & Destructor Documentation

UT_LUT::UT_LUT ( fpreal  val,
int  size,
float(*)(float val, float t eval = 0 
)

UT_LUT::UT_LUT ( int  size,
float(*)(float t eval = 0 
) [explicit]

UT_LUT::~UT_LUT (  ) 


Member Function Documentation

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  ) 

void UT_LUT::bumpRefCount ( void   )  [inline]

Definition at line 108 of file UT_LUT.h.

int UT_LUT::downRefCount ( void   )  [inline]

Definition at line 109 of file UT_LUT.h.

fpreal UT_LUT::fastValue ( fpreal  t  )  const [inline]

Definition at line 66 of file UT_LUT.h.

fpreal UT_LUT::getFSize (  )  const [inline]

Definition at line 53 of file UT_LUT.h.

int UT_LUT::getLUTSize (  )  const [inline]

Definition at line 105 of file UT_LUT.h.

fpreal* UT_LUT::getRawLUT (  )  [inline]

Definition at line 106 of file UT_LUT.h.

int UT_LUT::getSize ( void   )  const [inline]

Definition at line 52 of file UT_LUT.h.

fpreal UT_LUT::getValue (  )  const [inline]

Definition at line 51 of file UT_LUT.h.

fpreal UT_LUT::lerpFast ( fpreal  t  )  const [inline]

Definition at line 80 of file UT_LUT.h.

fpreal UT_LUT::lerpSafe ( fpreal  t  )  const [inline]

Definition at line 88 of file UT_LUT.h.

fpreal UT_LUT::operator() ( int  i  )  const [inline]

Definition at line 54 of file UT_LUT.h.

fpreal UT_LUT::safeValue ( fpreal  t  )  const [inline]

Definition at line 67 of file UT_LUT.h.

void UT_LUT::setValue ( fpreal  v  )  [inline]

Definition at line 50 of file UT_LUT.h.


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:50 2012 for HDK by  doxygen 1.5.9