#include <OBJ_UVCache.h>
Public Member Functions | |
| OBJ_UVCache (const GU_Detail *gdp, const char *uvname, bool wrapu, float minu, float maxu, bool wrapv, float minv, float maxv) | |
| ~OBJ_UVCache () | |
| bool | isCacheValid (const GU_Detail *gdp, const char *uvname, bool assumeuvconstant, bool wrapu, float minu, float maxu, bool wrapv, float minv, float maxv) const |
| void | addPrimitive (const GEO_Primitive *prim, const GB_AttributeRef &uvoff, bool isvertex) |
| void | wrapUV (float &newu, float &newv, float oldu, float oldv) |
| bool | getCell (float u, float v, int &cu, int &cv) |
| int | getPrimitive (const GU_Detail *gdp, float u, float v, float &pu, float &pv) |
| bool | testPolygon (const GEO_PrimPoly *poly, const GB_AttributeRef &uvoff, bool isvertex, float u, float v, float &pu, float &pv) |
| bool | testHull (const GEO_Hull *hull, const GB_AttributeRef &uvoff, bool isvertex, float u, float v, float &pu, float &pv) |
Protected Attributes | |
| UT_String | myUVName |
| int | myNumPoly |
| float | myMinU |
| float | myMaxU |
| float | myMinV |
| float | myMaxV |
| bool | myWrapU |
| bool | myWrapV |
| int | myResU |
| int | myResV |
| UT_IntArray *** | myPrimTable |
| int | myGdpID |
| int | myGdpMetaCount |
Definition at line 36 of file OBJ_UVCache.h.
| OBJ_UVCache::OBJ_UVCache | ( | const GU_Detail * | gdp, | |
| const char * | uvname, | |||
| bool | wrapu, | |||
| float | minu, | |||
| float | maxu, | |||
| bool | wrapv, | |||
| float | minv, | |||
| float | maxv | |||
| ) |
| OBJ_UVCache::~OBJ_UVCache | ( | ) |
| void OBJ_UVCache::addPrimitive | ( | const GEO_Primitive * | prim, | |
| const GB_AttributeRef & | uvoff, | |||
| bool | isvertex | |||
| ) |
| bool OBJ_UVCache::getCell | ( | float | u, | |
| float | v, | |||
| int & | cu, | |||
| int & | cv | |||
| ) |
| int OBJ_UVCache::getPrimitive | ( | const GU_Detail * | gdp, | |
| float | u, | |||
| float | v, | |||
| float & | pu, | |||
| float & | pv | |||
| ) |
| bool OBJ_UVCache::isCacheValid | ( | const GU_Detail * | gdp, | |
| const char * | uvname, | |||
| bool | assumeuvconstant, | |||
| bool | wrapu, | |||
| float | minu, | |||
| float | maxu, | |||
| bool | wrapv, | |||
| float | minv, | |||
| float | maxv | |||
| ) | const |
| bool OBJ_UVCache::testHull | ( | const GEO_Hull * | hull, | |
| const GB_AttributeRef & | uvoff, | |||
| bool | isvertex, | |||
| float | u, | |||
| float | v, | |||
| float & | pu, | |||
| float & | pv | |||
| ) |
| bool OBJ_UVCache::testPolygon | ( | const GEO_PrimPoly * | poly, | |
| const GB_AttributeRef & | uvoff, | |||
| bool | isvertex, | |||
| float | u, | |||
| float | v, | |||
| float & | pu, | |||
| float & | pv | |||
| ) |
| void OBJ_UVCache::wrapUV | ( | float & | newu, | |
| float & | newv, | |||
| float | oldu, | |||
| float | oldv | |||
| ) |
int OBJ_UVCache::myGdpID [protected] |
Definition at line 90 of file OBJ_UVCache.h.
int OBJ_UVCache::myGdpMetaCount [protected] |
Definition at line 90 of file OBJ_UVCache.h.
float OBJ_UVCache::myMaxU [protected] |
Definition at line 81 of file OBJ_UVCache.h.
float OBJ_UVCache::myMaxV [protected] |
Definition at line 82 of file OBJ_UVCache.h.
float OBJ_UVCache::myMinU [protected] |
Definition at line 81 of file OBJ_UVCache.h.
float OBJ_UVCache::myMinV [protected] |
Definition at line 82 of file OBJ_UVCache.h.
int OBJ_UVCache::myNumPoly [protected] |
Definition at line 80 of file OBJ_UVCache.h.
UT_IntArray*** OBJ_UVCache::myPrimTable [protected] |
Definition at line 88 of file OBJ_UVCache.h.
int OBJ_UVCache::myResU [protected] |
Definition at line 84 of file OBJ_UVCache.h.
int OBJ_UVCache::myResV [protected] |
Definition at line 84 of file OBJ_UVCache.h.
UT_String OBJ_UVCache::myUVName [protected] |
Definition at line 79 of file OBJ_UVCache.h.
bool OBJ_UVCache::myWrapU [protected] |
Definition at line 83 of file OBJ_UVCache.h.
bool OBJ_UVCache::myWrapV [protected] |
Definition at line 83 of file OBJ_UVCache.h.
1.5.9