Bones

Functions

int SO3BoneListFromMesh (mmachine m)
 main include
int SO3GetRootBoneFromMesh (mmachine m)
 SO3GetRootBoneFromMesh : Return the root bone for a given node.
int SO3GetBoneLocalOrientation (mmachine m)
 SO3GetBoneLocalOrientation : Return the local orienation from a global quaternion.
int SO3ObjectSetInheritOrientation (mmachine m)
 SO3ObjectSetInheritOrientation : Set the inherit orientation of a node.
int SO3ObjectGetInheritOrientation (mmachine m)
 SO3ObjectGetInheritOrientation : Get the inherit orientation of a node.
int SO3ObjectResetOrientation (mmachine m)
 SO3ObjectResetOrientation : Resets the node orientation (local axes as world axes, no rotation).

Detailed Description

Scol functions definition


Function Documentation

int SO3BoneListFromMesh ( mmachine  m  ) 

main include

SO3BoneListFromMesh : Return the list of bones for a given node Prototype: fun [SO3_OBJECT] [SO3_OBJECT r1]

Parameters:
SO3_OBJECT : current node
Returns:
[SO3_OBJECT r1] : List of bones if success , NIL otherwise

Definition at line 52 of file SCOLBones.cpp.

int SO3GetBoneLocalOrientation ( mmachine  m  ) 

SO3GetBoneLocalOrientation : Return the local orienation from a global quaternion.

Prototype: fun [SO3_OBJECT [F F F F]] [F F F F]

Parameters:
SO3_OBJECT : current bone
[F F F F] : global orientation
Returns:
[F F F F] : local orientation if success , NIL otherwise

Definition at line 187 of file SCOLBones.cpp.

int SO3GetRootBoneFromMesh ( mmachine  m  ) 

SO3GetRootBoneFromMesh : Return the root bone for a given node.

Prototype: fun [SO3_OBJECT] SO3_OBJECT

Parameters:
SO3_OBJECT : current node
Returns:
SO3_OBJECT : Root bone if success , NIL otherwise

Definition at line 128 of file SCOLBones.cpp.

int SO3ObjectGetInheritOrientation ( mmachine  m  ) 

SO3ObjectGetInheritOrientation : Get the inherit orientation of a node.

Prototype: fun [SO3_OBJECT] I

Parameters:
SO3_OBJECT : current node
Returns:
I : state 1 if enable, 0 if disable, NIL otherwise

Definition at line 3542 of file SCOLObject.cpp.

int SO3ObjectResetOrientation ( mmachine  m  ) 

SO3ObjectResetOrientation : Resets the node orientation (local axes as world axes, no rotation).

Prototype: fun [SO3_OBJECT] I

Parameters:
SO3_OBJECT : current node
Returns:
I : 1 if success, NIL otherwise

Definition at line 3575 of file SCOLObject.cpp.

int SO3ObjectSetInheritOrientation ( mmachine  m  ) 

SO3ObjectSetInheritOrientation : Set the inherit orientation of a node.

Prototype: fun [SO3_OBJECT I] I

Parameters:
SO3_OBJECT : current node
I : state, 1 to enable, 0 to disable inherit orientation
Returns:
I : 1 if success, NIL otherwise

Definition at line 3501 of file SCOLObject.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Oct 31 14:42:33 2011 for SO3Engine by  doxygen 1.6.3