SO3Engine/SCOLPack/SCOLBones.cpp File Reference

#include "SO3SCOL.h"
#include "../SO3SceneGraph/SO3Entity.h"
#include "../SO3SceneGraph/SO3Skeleton.h"
#include "../SO3SceneGraph/SO3Bone.h"
#include "../SO3SceneGraph/SO3Scene.h"

Go to the source code of this file.

Defines

#define NBBONEPKG   3

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 SCOLloadBone (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLfreeBone ()
 free the SO3Engine Viewport function

Variables

char * BONEname [NBBONEPKG]
int(* BONEFunc [NBBONEPKG])(mmachine m)
int BONEnarg [NBBONEPKG]
char * BONEType [NBBONEPKG]

Define Documentation

#define NBBONEPKG   3

Nb of Scol functions or types

Definition at line 255 of file SCOLBones.cpp.


Function Documentation

int SCOLfreeBone (  ) 

free the SO3Engine Viewport function

Parameters:
m : The VM

Definition at line 317 of file SCOLBones.cpp.

int SCOLloadBone ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 307 of file SCOLBones.cpp.


Variable Documentation

int(* BONEFunc[NBBONEPKG])(mmachine m)
Initial value:

Nb of arguments of each scol function

Definition at line 272 of file SCOLBones.cpp.

char* BONEname[NBBONEPKG]
Initial value:
 
{
        "SO3BoneListFromMesh",
        "SO3GetRootBoneFromMesh",
  "SO3GetBoneLocalOrientation"
}

Pointers to C functions that manipulate the VM for each scol function previously defined

Definition at line 261 of file SCOLBones.cpp.

int BONEnarg[NBBONEPKG]
Initial value:
 
{
        1,                                                                                                                                                              
        1,                                                                                                                                                              
  2                                         
}

Nb of arguments of each scol function

Definition at line 283 of file SCOLBones.cpp.

char* BONEType[NBBONEPKG]
Initial value:
{
        "fun [SO3_OBJECT] [SO3_OBJECT r1]",                             
        "fun [SO3_OBJECT] SO3_OBJECT",                                    
  "fun [SO3_OBJECT [F F F F]] [F F F F]"    
}

Prototypes of the scol functions

Definition at line 294 of file SCOLBones.cpp.

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