SO3Engine/SCOLPack/SCOLObject.cpp File Reference

#include "SO3SCOL.h"
#include "../SO3Utils/SO3RayCast.h"
#include "../SO3Animation/SO3NodeAnimation.h"
#include "SO3Anim.h"
#include "../SO3Renderer/SO3Viewport.h"
#include "../SO3SceneGraph/SO3Bone.h"
#include "../SO3SceneGraph/SO3Camera.h"
#include "../SO3SceneGraph/SO3Entity.h"
#include "../SO3SceneGraph/SO3Light.h"
#include "../SCOLBasic/SO3Std.h"
#include "../SO3SceneGraph/SO3NodeScol.h"
#include "../SO3SceneGraph/SO3Scene.h"
#include "../SO3SceneGraph/SO3Skeleton.h"

Go to the source code of this file.

Defines

#define NBOBJECTPKG   65

Functions

int SO3ObjectRotate (mmachine m)
 main include
int SO3ObjectShowBoundingBox (mmachine m)
 SO3ObjectShowBoundingBox : Allow the display of BoundingBox.
int SO3ObjectSetDirection (mmachine m)
 SO3ObjectSetDirection : defines direction of a node.
int SO3ObjectLookAt (mmachine m)
 SO3ObjectLookAt : defines "look at" direction of a node.
int SO3ObjectSetVisible (mmachine m)
 SO3ObjectSetVisible : defines visible state of a node.
int SO3ObjectGetVisible (mmachine m)
 SO3ObjectGetVisible : Get the visible state of a node.
int SO3ObjectGetName (mmachine m)
 SO3ObjectGetName : Return a node's name.
int SO3ObjectSetOrientation (mmachine m)
 SO3ObjectSetOrientation : Set an orientation for a given node.
int SO3ObjectAddOrientation (mmachine m)
 SO3ObjectAddOrientation : Add orientation to a given node.
int SO3ObjectResetToInitialOrientation (mmachine m)
 SO3ObjectResetToInitialOrientation : Reset node orientation.
int SO3ObjectSetPosition (mmachine m)
 SO3ObjectSetPosition : defines position for a given node.
int SO3ObjectTranslate (mmachine m)
 SO3ObjectTranslate : Translate a given node.
int SO3ObjectSetScale (mmachine m)
 SO3ObjectSetScale : Scale a given node.
int SO3ObjectGetOrientation (mmachine m)
 SO3ObjectGetOrientation : Get Object Orientation.
int SO3ObjectGetInitialOrientation (mmachine m)
 SO3ObjectGetInitialOrientation : Get Initial Object Orientation.
int SO3ObjectGetGlobalOrientation (mmachine m)
 SO3ObjectGetGlobalOrientation : Get Global Object Orientation.
int SO3ObjectSetGlobalPosition (mmachine m)
 SO3ObjectSetGlobalPosition : Set Global Object Postion.
int SO3ObjectSetGlobalOrientation (mmachine m)
 SO3ObjectSetGlobalOrientation : Set Global Object Orientation.
int SO3ObjectSetGlobalScale (mmachine m)
 SO3ObjectSetGlobalScale : Set Global Object scale.
int SO3ObjectGetPosition (mmachine m)
 SO3ObjectGetPosition : Get Object Position.
int SO3ObjectGetInitialPosition (mmachine m)
 SO3ObjectGetInitialPosition : Get Object Initial Position.
int SO3ObjectGetGlobalPosition (mmachine m)
 SO3ObjectGetGlobalPosition : Get Object Global Position.
int SO3ObjectGetScale (mmachine m)
 SO3ObjectGetScale : Get Object Scale.
int SO3ObjectGetInitialScale (mmachine m)
 SO3ObjectGetScale : Get Object Initial Scale.
int SO3ObjectGetMatrix (mmachine m)
 SO3ObjectGetMatrix : Return the matrix of a given node.
int SO3ObjectGetWorldMatrix (mmachine m)
 SO3ObjectGetWorldMatrix : Return the world matrix of a given node.
int SO3ObjectGetGlobalScale (mmachine m)
 SO3ObjectGetScale : Get Object Global Scale.
int SO3ObjectRotateRoll (mmachine m)
 SO3ObjectRotateRoll : Roll a node.
int SO3ObjectRotateYaw (mmachine m)
 SO3ObjectRotateYaw : Yaw a node.
int SO3ObjectRotatePitch (mmachine m)
 SO3ObjectRotatePitch : Pitch a node.
int SO3ObjectNbOfChild (mmachine m)
 SO3ObjectNbOfChild : return the numer of child of a node.
int SO3ObjectRemoveAllChildren (mmachine m)
 SO3ObjectRemoveAllChildren : Remove all children.
int SO3ObjectGetChildren (mmachine m)
 SO3ObjectGetChildren : Return the list of child node.
int SO3ObjectDestroy (mmachine m)
 SO3ObjectDestroy : Destroy a node and its hierarchy.
int SO3ObjectSetInitialState (mmachine m)
 SO3ObjectSetInitialState : defines initial state of a node.
int SO3ObjectResetToInitialState (mmachine m)
 SO3ObjectResetToInitialState : Reset a node to its initial state.
int SO3ObjectGetSceneRoot (mmachine m)
 SO3ObjectGetSceneRoot : Get the scene root node.
int SO3ObjectGetParent (mmachine m)
 SO3ObjectGetParent : Get the parent node of a node.
int SO3ObjectLink (mmachine m)
 SO3ObjectLink : Link two nodes.
int SO3ObjectGetPositionInObjectRef (mmachine m)
 SO3ObjectGetPositionInObjectRef : Return the position of node in the transform space of another node.
int SO3ObjectGetOrientationInObjectRef (mmachine m)
 SO3ObjectGetOrientationInObjectRef : Return the orientation of node in the transform space of another node.
int SO3ObjectGetScaleInObjectRef (mmachine m)
 SO3ObjectGetScaleInObjectRef : Return the scale of node in the transform space of another node.
int SO3ObjectUnlink (mmachine m)
 SO3ObjectUnlink : Unlink a node from the scene.
int SO3ObjectSetAutoTracking (mmachine m)
 SO3ObjectSetAutoTracking : defines auto tracking for a node.
int SO3ObjectSetRenderingDistance (mmachine m)
 SO3ObjectSetRenderingDistance : defines a maximum distance for rendering the object.
int SO3ObjectGetRenderingDistance (mmachine m)
 SO3ObjectGetRenderingDistance : return the maximum distance for rendering the object.
int SO3ObjectSetCastShadows (mmachine m)
 SO3ObjectSetCastShadows : defines cast shadow state for a node.
int SO3ObjectGetBoundingBoxInfo (mmachine m)
 SO3ObjectGetBoundingBoxInfo : Return the bounding box information of a node.
int SO3ObjectGetCastShadows (mmachine m)
 SO3ObjectGetCastShadows : Get the cast shadows state of a node.
int SO3ObjectGetPolygonCount (mmachine m)
 SO3ObjectGetPolygonCount : Return the numer of Polygone for a node.
int SO3ObjectSetMouseForeGround (mmachine m)
 SO3ObjectSetMouseForeGround : defines mouse foreground priority of a node.
int SO3ObjectSetMouseClick (mmachine m)
 SO3ObjectSetMouseClick : defines mouse click state of a node.
int SO3ObjectGetMouseForeGround (mmachine m)
 SO3ObjectGetMouseForeGround :Get the mouse foreground priority of a node.
int SO3ObjectGetMouseClick (mmachine m)
 SO3ObjectGetMouseClick :Get the mouse click state of a node.
int SO3ObjectSetRenderOverlay (mmachine m)
 SO3ObjectSetRenderOverlay : defines render overlay priority of a node.
int SO3ObjectGetInfo (mmachine m)
 SO3ObjectGetInfo : Get mouse informations (raycast) from a viewport.
int SO3ObjectGetInfoEx (mmachine m)
 SO3ObjectGetInfoEx : Get extended mouse informations (raycast) from a viewport.
int SO3ObjectGetScreenCoord (mmachine m)
 SO3ObjectGetScreenCoord : Get screen coordinates of a node.
int SO3ObjectGetScreenPixelCoord (mmachine m)
 SO3ObjectGetScreenPixelCoord : Get screen coordinates in pixels of a node.
int SO3ObjectGetNodeFacingOrientation (mmachine m)
 SO3ObjectGetNodeFacingOrientation : Get the necessary rotation for making the target node facing the destination node in global space.
int SO3ObjectGetAnimation (mmachine m)
 SO3ObjectGetAnimation : return an animation by its name.
int SO3ObjectCreateNodesAnimation (mmachine m)
 SO3ObjectCreateNodesAnimation : Create a Scene Node Animation.
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).
int SCOLloadObject (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
int SCOLfreeObject ()
 free the SO3Engine Viewport function

Variables

char * OBJECTname [NBOBJECTPKG]
int(* OBJECTFunc [NBOBJECTPKG])(mmachine m)
int OBJECTnarg [NBOBJECTPKG]
char * OBJECTType [NBOBJECTPKG]

Define Documentation

#define NBOBJECTPKG   65

Nb of Scol functions or types

Definition at line 3606 of file SCOLObject.cpp.


Function Documentation

int SCOLfreeObject (  ) 

free the SO3Engine Viewport function

Parameters:
m : The VM

Definition at line 3916 of file SCOLObject.cpp.

int SCOLloadObject ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters:
m : The VM
w : The Callback VM

Definition at line 3906 of file SCOLObject.cpp.


Variable Documentation

int(* OBJECTFunc[NBOBJECTPKG])(mmachine m)

Nb of arguments of each scol function

Definition at line 3685 of file SCOLObject.cpp.

char* OBJECTname[NBOBJECTPKG]

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

Definition at line 3612 of file SCOLObject.cpp.

int OBJECTnarg[NBOBJECTPKG]

Nb of arguments of each scol function

Definition at line 3758 of file SCOLObject.cpp.

char* OBJECTType[NBOBJECTPKG]

Prototypes of the scol functions

Definition at line 3831 of file SCOLObject.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