AssimpAppNode

Engine/source/ts/assimp/assimpAppNode.h

More...

Private Types

Parent 

Public Friends

Protected Attributes

Parent node.

Transform at DefaultTime (Only Non-Dummy Nodes)

bool

Flag indicating whether the defaultNodeTransform is valid.

bool

True if this node's coordinate space is inverted (left handed)

Last transform lookup (getTransform) (Only Non-Dummy Nodes)

Time of the last transform lookup (getTransform)

const struct aiNode *

Pointer to the assimp scene node.

Scene node transform converted to TorqueSpace (filled for ALL nodes)

const struct aiScene *

Public Static Attributes

Private Functions

Public Functions

AssimpAppNode(const struct aiScene * scene, const struct aiNode * node, AssimpAppNode * parent)
bool
getBool(const char * propName, bool & defaultVal)
bool
getFloat(const char * propName, F32 & defaultVal)
bool
getInt(const char * propName, S32 & defaultVal)
const char *

Get the world transform of the node at the specified time.

bool
isEqual(AppNode * node)
bool

Public Static Functions

assimpToTorqueMat(const aiMatrix4x4 & inAssimpMat, MatrixF & outMat)
aiNode *
findChildNodeByName(const char * nodeName, aiNode * rootNode)

Detailed Description

Private Types

typedef AppNode Parent 

Public Friends

Protected Attributes

AssimpAppNode * appParent 

Parent node.

MatrixF mDefaultNodeTransform 

Transform at DefaultTime (Only Non-Dummy Nodes)

bool mDefaultTransformValid 

Flag indicating whether the defaultNodeTransform is valid.

bool mInvertMeshes 

True if this node's coordinate space is inverted (left handed)

MatrixF mLastTransform 

Last transform lookup (getTransform) (Only Non-Dummy Nodes)

F32 mLastTransformTime 

Time of the last transform lookup (getTransform)

const struct aiNode * mNode 

Pointer to the assimp scene node.

MatrixF mNodeTransform 

Scene node transform converted to TorqueSpace (filled for ALL nodes)

const struct aiScene * mScene 

Public Static Attributes

aiAnimation * sActiveSequence 
F32 sTimeMultiplier 

Private Functions

buildChildList()

Reimplemented from: AppNode

buildMeshList()

Reimplemented from: AppNode

getAnimatedTransform(MatrixF & mat, F32 t, aiAnimation * animSeq)

getTransform(F32 time)

Public Functions

AssimpAppNode(const struct aiScene * scene, const struct aiNode * node, AssimpAppNode * parent)

~AssimpAppNode()

animatesTransform(const AppSequence * appSeq)

Reimplemented from: AppNode

getBool(const char * propName, bool & defaultVal)

Reimplemented from: AppNode

getFloat(const char * propName, F32 & defaultVal)

Reimplemented from: AppNode

getInt(const char * propName, S32 & defaultVal)

Reimplemented from: AppNode

getName()

Reimplemented from: AppNode

getNodeTransform(F32 time)

Reimplemented from: AppNode

getParentName()

Reimplemented from: AppNode

isEqual(AppNode * node)

Reimplemented from: AppNode

isParentRoot()

Reimplemented from: AppNode

Public Static Functions

assimpToTorqueMat(const aiMatrix4x4 & inAssimpMat, MatrixF & outMat)

convertMat(MatrixF & outMat)

findChildNodeByName(const char * nodeName, aiNode * rootNode)