AssimpShapeLoader
Engine/source/ts/assimp/assimpShapeLoader.h
Public Friends
TSShape *
This function is invoked by the resource manager based on file extension.
Protected Functions
extractTexture(U32 index, aiTexture * pTex)
bool
ignoreMesh(const String & name)
bool
ignoreNode(const String & name)
Private Functions
addMetaDataToTree(const aiMetadata * metaData, GuiTreeViewCtrl * tree)
addNodeToTree(S32 parentItem, aiNode * node, GuiTreeViewCtrl * tree, U32 & nodeCount)
bool
getMetabool(const char * key, bool & boolVal)
bool
getMetaDouble(const char * key, F64 & doubleVal)
bool
getMetaFloat(const char * key, F32 & floatVal)
bool
getMetaInt(const char * key, S32 & intVal)
bool
getMetaString(const char * key, String & stringVal)
Public Functions
computeBounds(Box3F & bounds)
bool
fillGuiTreeView(const char * shapePath, GuiTreeViewCtrl * tree)
updateMaterialsScript(const Torque::Path & path)
Public Static Functions
assimpLogCallback(const char * message, char * user)
bool
canLoadCachedDTS(const Torque::Path & path)
Check if an up-to-date cached DTS is available for this DAE file.
Detailed Description
Protected Attributes
const struct aiScene * mScene
Public Friends
Protected Functions
detectDetails()
extractTexture(U32 index, aiTexture * pTex)
ignoreMesh(const String & name)
Reimplemented from: TSShapeLoader
ignoreNode(const String & name)
Reimplemented from: TSShapeLoader
Private Functions
addMetaDataToTree(const aiMetadata * metaData, GuiTreeViewCtrl * tree)
addNodeToTree(S32 parentItem, aiNode * node, GuiTreeViewCtrl * tree, U32 & nodeCount)
getMetabool(const char * key, bool & boolVal)
getMetaDouble(const char * key, F64 & doubleVal)
getMetaFloat(const char * key, F32 & floatVal)
getMetaInt(const char * key, S32 & intVal)
getMetaString(const char * key, String & stringVal)
Public Functions
AssimpShapeLoader()
~AssimpShapeLoader()
computeBounds(Box3F & bounds)
Reimplemented from: TSShapeLoader
enumerateScene()
Reimplemented from: TSShapeLoader
fillGuiTreeView(const char * shapePath, GuiTreeViewCtrl * tree)
processAnimations()
releaseImport()
updateMaterialsScript(const Torque::Path & path)
Public Static Functions
assimpLogCallback(const char * message, char * user)
canLoadCachedDTS(const Torque::Path & path)
Check if an up-to-date cached DTS is available for this DAE file.