This class gets an object material hash. It returns front and back material pair. @Note if we have a face #1 [Mat #1, Mat #2] and a face #2 [Mat #1, Mat #3] we will get 2 entries with (#1-#2, 1), (#1-#3, 1)
More...
This class gets an object material hash. It returns front and back material pair. @Note if we have a face #1 [Mat #1, Mat #2] and a face #2 [Mat #1, Mat #3] we will get 2 entries with (#1-#2, 1), (#1-#3, 1)
|
unsigned int | GetFrontHash (CMaterialHashMap &map, bool reset=true, bool removeUndefinedMaterial=true) const |
|
unsigned int | GetBackHash (CMaterialHashMap &map, bool reset=true, bool removeUndefinedMaterial=true) const |
|
unsigned int | GetFrontBackHash (CMaterialHashMap &map, bool reset=true, bool removeUndefinedMaterial=true) const |
|
unsigned int | ReplaceFrontMaterial (MaterialID matid, MaterialID newmatid) |
|
unsigned int | ReplaceBackMaterial (MaterialID matid, MaterialID newmatid) |
|
| CHashMap (unsigned int defaultSize=DefaultHashSize) |
|
| CHashMap (const CHashMap &Rhs) |
|
const CHashMap & | operator= (const CHashMap &Rhs) |
|
int | Insert2 (const FBMaterialID K, const unsigned int V) |
|
int | Insert (const FBMaterialID K, const unsigned int &V) |
|
int | Remove (const FBMaterialID K, bool enableResize=false) |
|
void | Remove (const CHashMap &Rhs) |
|
int | Find (const FBMaterialID K, unsigned int &V) const |
|
int | Find (const FBMaterialID K, unsigned int *&V) const |
|
unsigned int * | Find (const FBMaterialID K) const |
|
int | IsFound (const FBMaterialID K) const |
|
int | IsEmpty () const |
|
void | Free () |
|
void | Clear () |
|
unsigned int | GetCount () const |
|
HashPos | GetFirst () const |
|
void | GetNext (HashPos &pos, FBMaterialID &element, unsigned int &value) const |
|
void | GetNext (HashPos &pos, FBMaterialID &element, unsigned int *&value) const |
|
FBMaterialID & | GetNext (HashPos &pos, unsigned int &value) const |
|
void | GetNext (HashPos &pos, FBMaterialID *element, unsigned int *value) const |
|
FBMaterialID * | GetNext (HashPos &pos, unsigned int *&value) const |
|
void | InitHashTable (unsigned int elementsNumber) |
|
unsigned int | GetHashTableSize () const |
|
bool | Minimize () |
|
void | Merge (const CHashMap &Rhs) |
|