#include <TIL_TextureMap.h>
Public Member Functions | |
| TIL_TextureMap (const char *mapname=0, const char *relativeTo=0, TIL_Raster *rp=0) | |
| virtual | ~TIL_TextureMap () |
| void | setOpCaller (UT_OpCaller *c) |
| void | setMap (const char *name, const char *relativeTo, TIL_Raster *rp=0, bool always_resolve=true) |
| void | setRenderFlag (int on) |
| void | clearRaster () |
| void | forceReload (void) |
| const char * | getMap (void) const |
| TIL_Raster * | getOGLRaster () |
| const UT_Options * | getTextureOptions () const |
| int | getRenderIndex () |
| void | clearRenderIndex () |
| int | queryCurrentRenderIndex () const |
| int | getIdealSamples (float du, float dv) |
| void | getResolution (int &x, int &y) |
| int | getNChannels () const |
| void | setColorChannelName (const char *name) |
| const char * | getColorChannelName () const |
| void | setFilter (UT_FilterType filter, float xw, float yw) |
| void | setXFilter (UT_FilterType filter) |
| void | setYFilter (UT_FilterType filter) |
| void | setFilterWidths (float xwidth, float ywidth) |
| void | setFilterBlurs (float xblur, float yblur) |
| void | setMipInterpolate (int onoff) |
| void | setWrapMode (UT_FilterWrap uwrap, UT_FilterWrap vwrap, const UT_Vector4 &border) |
| void | setDeepInterp (IMG_DEEP_INTERP interp) |
| void | setZSkew (float zskew) |
| const UT_Filter * | getXFilter () const |
| const UT_Filter * | getYFilter () const |
| float | getXFilterWidth () const |
| float | getYFilterWidth () const |
| void | setColorLookup (int nointerp=0, int needAlpha=1) |
| void | setBumpLookup (int interp=1, TIL_BUMP_COMPUTE_TYPE type=TIL_BUMP_PRECOMPUTE) |
| void | setColorModel (int abgr=0) |
| UT_FilterWrap | getUWrap () const |
| UT_FilterWrap | getVWrap () const |
| const UT_Vector4 & | getBorderColor () const |
| const UT_Vector4 & | getBorderBase () const |
| bool | isDefault () const |
| int | isRAT () const |
| int | isDSM () const |
| void | colorLookup (float u, float v, UT_Vector4 &clr, int validate=1) const |
| void | colorLookup (float u[4], float v[4], int maxsamples, UT_Vector4 &clr, int validate=1) const |
| float | depthLookup (float u, float v, float farValue=1E6, int validate=1) const |
| void | bumpLookup (float u, float v, float *du, float *dv, int validate=1) const |
| void | envLookup (const UT_Vector3 &R, UT_Vector4 &clr, float uscale=1, float vscale=1, int validate=1) const |
| void | envLookup (const UT_Vector3 &r00, const UT_Vector3 &r10, const UT_Vector3 &r11, const UT_Vector3 &r01, UT_Vector4 &clr, int maxsamples, float uscale=1, float vscale=1, int validate=1) const |
| void | deepLookup (UT_Vector3 &clr, const UT_Vector3 &p, const UT_Vector3 &du, const UT_Vector3 &dv, float quality, int maxsamples, int validate) |
| void | deepLookup (UT_Vector3 &clr, const UT_Vector3 &p, float du, float dv, float quality, int maxsamples, int validate) |
| const IMG_TTFilterInfo & | getFilterInfo () const |
| void | adjustScales (float scale) |
| TIL_BUMP_COMPUTE_TYPE | getBumpCompute () const |
| int | getInterpRequired () const |
| int | getAlphaRequired () const |
| bool | isVolatileTexture () const |
| bool | hasTextureChanged (const TIL_Raster **newraster=0) |
| IMG_FileTTMap * | getRawTexture () |
| int | getColorChannelIndex (IMG_FileTTMap *map) const |
Friends | |
| class | ut_Map |
Definition at line 185 of file TIL_TextureMap.h.
| TIL_TextureMap::TIL_TextureMap | ( | const char * | mapname = 0, |
|
| const char * | relativeTo = 0, |
|||
| TIL_Raster * | rp = 0 | |||
| ) |
| virtual TIL_TextureMap::~TIL_TextureMap | ( | ) | [virtual] |
| void TIL_TextureMap::adjustScales | ( | float | scale | ) |
| void TIL_TextureMap::bumpLookup | ( | float | u, | |
| float | v, | |||
| float * | du, | |||
| float * | dv, | |||
| int | validate = 1 | |||
| ) | const |
| void TIL_TextureMap::clearRaster | ( | ) |
| void TIL_TextureMap::clearRenderIndex | ( | ) |
| void TIL_TextureMap::colorLookup | ( | float | u[4], | |
| float | v[4], | |||
| int | maxsamples, | |||
| UT_Vector4 & | clr, | |||
| int | validate = 1 | |||
| ) | const |
| void TIL_TextureMap::colorLookup | ( | float | u, | |
| float | v, | |||
| UT_Vector4 & | clr, | |||
| int | validate = 1 | |||
| ) | const |
| void TIL_TextureMap::deepLookup | ( | UT_Vector3 & | clr, | |
| const UT_Vector3 & | p, | |||
| float | du, | |||
| float | dv, | |||
| float | quality, | |||
| int | maxsamples, | |||
| int | validate | |||
| ) |
| void TIL_TextureMap::deepLookup | ( | UT_Vector3 & | clr, | |
| const UT_Vector3 & | p, | |||
| const UT_Vector3 & | du, | |||
| const UT_Vector3 & | dv, | |||
| float | quality, | |||
| int | maxsamples, | |||
| int | validate | |||
| ) |
Deep shadow lookup will fall back to regular depth map lookups if this map is not a deep shadow map.
| float TIL_TextureMap::depthLookup | ( | float | u, | |
| float | v, | |||
| float | farValue = 1E6, |
|||
| int | validate = 1 | |||
| ) | const |
| void TIL_TextureMap::envLookup | ( | const UT_Vector3 & | r00, | |
| const UT_Vector3 & | r10, | |||
| const UT_Vector3 & | r11, | |||
| const UT_Vector3 & | r01, | |||
| UT_Vector4 & | clr, | |||
| int | maxsamples, | |||
| float | uscale = 1, |
|||
| float | vscale = 1, |
|||
| int | validate = 1 | |||
| ) | const |
| void TIL_TextureMap::envLookup | ( | const UT_Vector3 & | R, | |
| UT_Vector4 & | clr, | |||
| float | uscale = 1, |
|||
| float | vscale = 1, |
|||
| int | validate = 1 | |||
| ) | const |
| void TIL_TextureMap::forceReload | ( | void | ) |
| int TIL_TextureMap::getAlphaRequired | ( | ) | const [inline] |
Definition at line 317 of file TIL_TextureMap.h.
| const UT_Vector4& TIL_TextureMap::getBorderBase | ( | ) | const [inline] |
Definition at line 266 of file TIL_TextureMap.h.
| const UT_Vector4& TIL_TextureMap::getBorderColor | ( | ) | const [inline] |
Definition at line 265 of file TIL_TextureMap.h.
| TIL_BUMP_COMPUTE_TYPE TIL_TextureMap::getBumpCompute | ( | ) | const [inline] |
Definition at line 311 of file TIL_TextureMap.h.
| int TIL_TextureMap::getColorChannelIndex | ( | IMG_FileTTMap * | map | ) | const |
| const char* TIL_TextureMap::getColorChannelName | ( | ) | const |
| const IMG_TTFilterInfo& TIL_TextureMap::getFilterInfo | ( | ) | const [inline] |
Definition at line 307 of file TIL_TextureMap.h.
| int TIL_TextureMap::getIdealSamples | ( | float | du, | |
| float | dv | |||
| ) |
| int TIL_TextureMap::getInterpRequired | ( | ) | const [inline] |
Definition at line 316 of file TIL_TextureMap.h.
| const char* TIL_TextureMap::getMap | ( | void | ) | const |
| int TIL_TextureMap::getNChannels | ( | ) | const |
| TIL_Raster* TIL_TextureMap::getOGLRaster | ( | ) |
| IMG_FileTTMap* TIL_TextureMap::getRawTexture | ( | ) |
| int TIL_TextureMap::getRenderIndex | ( | ) |
| void TIL_TextureMap::getResolution | ( | int & | x, | |
| int & | y | |||
| ) |
| const UT_Options* TIL_TextureMap::getTextureOptions | ( | ) | const |
| UT_FilterWrap TIL_TextureMap::getUWrap | ( | ) | const [inline] |
Definition at line 263 of file TIL_TextureMap.h.
| UT_FilterWrap TIL_TextureMap::getVWrap | ( | ) | const [inline] |
Definition at line 264 of file TIL_TextureMap.h.
| const UT_Filter* TIL_TextureMap::getXFilter | ( | ) | const [inline] |
Definition at line 226 of file TIL_TextureMap.h.
| float TIL_TextureMap::getXFilterWidth | ( | ) | const [inline] |
Definition at line 228 of file TIL_TextureMap.h.
| const UT_Filter* TIL_TextureMap::getYFilter | ( | ) | const [inline] |
Definition at line 227 of file TIL_TextureMap.h.
| float TIL_TextureMap::getYFilterWidth | ( | ) | const [inline] |
Definition at line 229 of file TIL_TextureMap.h.
| bool TIL_TextureMap::hasTextureChanged | ( | const TIL_Raster ** | newraster = 0 |
) |
| bool TIL_TextureMap::isDefault | ( | ) | const |
| int TIL_TextureMap::isDSM | ( | ) | const |
| int TIL_TextureMap::isRAT | ( | ) | const |
| bool TIL_TextureMap::isVolatileTexture | ( | ) | const |
| int TIL_TextureMap::queryCurrentRenderIndex | ( | ) | const |
| void TIL_TextureMap::setBumpLookup | ( | int | interp = 1, |
|
| TIL_BUMP_COMPUTE_TYPE | type = TIL_BUMP_PRECOMPUTE | |||
| ) | [inline] |
Definition at line 240 of file TIL_TextureMap.h.
| void TIL_TextureMap::setColorChannelName | ( | const char * | name | ) |
| void TIL_TextureMap::setColorLookup | ( | int | nointerp = 0, |
|
| int | needAlpha = 1 | |||
| ) | [inline] |
Definition at line 233 of file TIL_TextureMap.h.
| void TIL_TextureMap::setColorModel | ( | int | abgr = 0 |
) |
| void TIL_TextureMap::setDeepInterp | ( | IMG_DEEP_INTERP | interp | ) |
| void TIL_TextureMap::setFilter | ( | UT_FilterType | filter, | |
| float | xw, | |||
| float | yw | |||
| ) |
| void TIL_TextureMap::setFilterBlurs | ( | float | xblur, | |
| float | yblur | |||
| ) |
| void TIL_TextureMap::setFilterWidths | ( | float | xwidth, | |
| float | ywidth | |||
| ) |
| void TIL_TextureMap::setMap | ( | const char * | name, | |
| const char * | relativeTo, | |||
| TIL_Raster * | rp = 0, |
|||
| bool | always_resolve = true | |||
| ) |
| void TIL_TextureMap::setMipInterpolate | ( | int | onoff | ) |
| void TIL_TextureMap::setOpCaller | ( | UT_OpCaller * | c | ) | [inline] |
Definition at line 191 of file TIL_TextureMap.h.
| void TIL_TextureMap::setRenderFlag | ( | int | on | ) | [inline] |
Definition at line 196 of file TIL_TextureMap.h.
| void TIL_TextureMap::setWrapMode | ( | UT_FilterWrap | uwrap, | |
| UT_FilterWrap | vwrap, | |||
| const UT_Vector4 & | border | |||
| ) |
| void TIL_TextureMap::setXFilter | ( | UT_FilterType | filter | ) |
| void TIL_TextureMap::setYFilter | ( | UT_FilterType | filter | ) |
| void TIL_TextureMap::setZSkew | ( | float | zskew | ) |
friend class ut_Map [friend] |
Definition at line 368 of file TIL_TextureMap.h.
1.5.9