SO3Engine/SCOLPack/SCOLAnim.cpp File Reference

#include "SO3SCOL.h"
#include "../SO3Animation/SO3Anim.h"
#include "..\SCOLBasic\SO3Std.h"
#include "..\SCOLBasic\SO3DataScol.h"
#include "..\SO3Animation\SO3AnimTrack.h"
#include "../SCOLBasic/SO3Std.h"
#include "SO3Array.inl"
#include "../SCOLBasic/SO3Prerequisites.h"
#include "../SCOLBasic/SO3DataScol.h"
#include <Ogre.h>
#include "../SCOLBasic/SO3Array.h"
#include "../SO3SceneGraph/SO3Entity.h"
#include "../SCOLBasic/FAPData.h"
#include "../SO3SceneGraph/SO3EntityFap.h"
#include <OgreNewt.h>
#include "../SO3SceneGraph/SO3NodeScol.h"

Go to the source code of this file.

Defines

#define NBANIMPKG   54

Functions

int getAnimationCallbackEndEvent (mmachine m, WindowHandle h, unsigned msg, UINT id, LONG param, int *ret)
 C function that prepares the VM for the execution of the end animation callback.
int SO3AnimTrackGetObject (mmachine m)
 SO3AnimTrackGetObject : Return the object associated with the current animation track.
int SO3AnimTrackCreateKey (mmachine m)
 SO3AnimTrackCreateKey : Return the list of bones for a given node.
int SO3AnimTrackSetKeyTransform (mmachine m)
 SO3AnimTrackSetKeyTransform : Set a transform key for a given keyframe.
int SO3AnimTrackGetKeyTransform (mmachine m)
 SO3AnimTrackGetKeyTransform : Return a key transform.
int SO3AnimTrackGetNumKeys (mmachine m)
 SO3AnimTrackGetNumKeys : Return number of keys for this animation track.
int SO3AnimTrackGetKeyTime (mmachine m)
 SO3AnimTrackGetKeyTime : Return the time for this key frame.
int SO3AnimTrackRemoveKey (mmachine m)
 SO3AnimTrackGetObject : Remove a key frame frm an animation track.
int SO3AnimTrackOptimise (mmachine m)
 SO3AnimTrackOptimise : Optimise the animation track.
int SO3AnimTrackRemoveAllKeys (mmachine m)
 SO3AnimTrackRemoveAllKeys : Remove all keys from an animation track.
int SO3AnimationGetName (mmachine m)
 SO3AnimationGetName : Return the name of an animation.
int SO3AnimationSetLenght (mmachine m)
 SO3AnimationSetLenght : defines length of an animation.
int SO3AnimationSetTimePosition (mmachine m)
 SO3AnimationSetTimePosition :defines time position for an animation.
int SO3AnimationSetWeight (mmachine m)
 SO3AnimationSetWeight : defines weight of a given animation.
int SO3AnimationSetInterpMode (mmachine m)
 SO3AnimationSetInterpMode : defines interpolation mode for animation mix.
int SO3AnimationSetRotInterpMode (mmachine m)
 SO3AnimationSetRotInterpMode : defines rotation interpolation mode for animation mix.
int SO3AnimationGetInterpMode (mmachine m)
 SO3AnimationGetInterpMode : Return the current interpolation mode for this animation.
int SO3AnimationGetType (mmachine m)
 SO3AnimationGetType : Return the current type for this animation.
int SO3AnimTrackDestroy (mmachine m)
 SO3AnimTrackDestroy : Destroy an animation Track.
int SO3AnimationGetRotInterpMode (mmachine m)
 SO3AnimationGetRotInterpMode : Return the current rotation interpolation mode for this animation.
int SO3AnimationSetEnable (mmachine m)
 SO3AnimationSetEnable : Enable/Disable a current animation.
int SO3AnimationSetPause (mmachine m)
 SO3AnimationSetPause : Play/Pause on a given animation.
int SO3AnimationSetLoop (mmachine m)
 SO3AnimationSetLoop : defines loop state for this animation.
int SO3AnimationOptimise (mmachine m)
 SO3AnimationOptimise : Optimize a given animation.
int SO3AnimationGetEnable (mmachine m)
 SO3AnimationGetEnable : Get the enable state for an animation.
int SO3AnimationGetPause (mmachine m)
 SO3AnimationGetEnable : Get the pause state for an animation.
int SO3AnimationGetLoop (mmachine m)
 SO3AnimationGetLoop : Get the loop state for an animation.
int SO3AnimationGetLenght (mmachine m)
 SO3AnimationGetLenght : Return the length of an animation.
int SO3AnimationGetTimePosition (mmachine m)
 SO3AnimationGetTimePosition : Return the time position of an animation.
int SO3AnimationGetWeight (mmachine m)
 SO3AnimationGetTimePosition : Return the weight of an animation.
int SO3AnimationSetSpeed (mmachine m)
 SO3AnimationGetTimePosition : defines speed of an animation.
int SO3AnimationGetSpeed (mmachine m)
 SO3AnimationGetSpeed : Return the speed of an animation.
int SO3AnimationHasEnded (mmachine m)
 SO3AnimationHasEnded : Return the ended state for an animation.
int SO3AnimationNumOfAnimationTrack (mmachine m)
 SO3AnimationNumOfAnimationTrack : Return the number of animation track for an animation.
int SO3ObjectSkeletonNumOfAnimations (mmachine m)
 SO3ObjectSkeletonNumOfAnimations : Return the number of animations for a skeleton.
int SO3ObjectGetVertexAnimations (mmachine m)
 SO3ObjectGetVertexAnimations : Return the list of vertex animations on an object.
int SO3AnimationListAnimTrack (mmachine m)
 SO3AnimationListAnimTrack : Return the list of animation tracks for an animation.
int SO3ObjectGetDisplaySkeleton (mmachine m)
 SO3ObjectGetDisplaySkeleton : Return the display state for a skeleton.
int SO3ObjectHasSkeleton (mmachine m)
 SO3ObjectHasSkeleton : Return true if an object has a skeleton otherwiser false.
int SO3ObjectIsHardwareSkinningEnabled (mmachine m)
 SO3ObjectIsHardwareSkinningEnabled : Return the hardware skinning enable state for an object.
int SO3ObjectSkeletonSetBindPose (mmachine m)
 SO3ObjectSkeletonSetBindPose : defines bind pose on a skeleton.
int SO3ObjectSkeletonGetBlendMode (mmachine m)
 SO3ObjectSkeletonGetBlendMode : Get the blending mode for a skeleton.
int SO3ObjectSkeletonSetBlendMode (mmachine m)
 SO3ObjectSkeletonGetBlendMode : defines blending mode for a skeleton.
int SO3ObjectSetDisplaySkeleton (mmachine m)
 SO3ObjectSetDisplaySkeleton : defines display skeleton mode for an object.
int SO3AnimationAddTime (mmachine m)
 SO3AnimationAddTime : Add time to an animation.
int SO3AnimationDestroy (mmachine m)
 SO3AnimationDestroy : Destroy an animation.
int SO3AnimationGetAnimTrack (mmachine m)
 SO3AnimationGetAnimTrack : Return an animation track from an animation.
int SO3AnimationCreateAnimTrack (mmachine m)
 SO3AnimationCreateAnimTrack : Create a SO3_ANIMTRACK in Scene on a given SO3_ANIM.
int SO3AnimationSetSkipFrame (mmachine m)
 SO3AnimationSetSkipFrame : Set the animation skip frame, this manage if the animation update is based on frame rate or not.
int SO3AnimationGetSkipFrame (mmachine m)
 SO3AnimationGetSkipFrame : Get the animation skip frame state.
int SO3AnimTrackCreateSequenceKey (mmachine m)
 SO3AnimTrackCreateSequenceKey : Add an animation to an animation sequence.
int SO3AnimTrackGetSequenceKey (mmachine m)
 SO3AnimTrackGetSequenceKey : Add an animation to an animation sequence.
int SO3AnimTrackSetSequenceKey (mmachine m)
 SO3AnimTrackSetSequenceKey : Add an animation to an animation sequence.
int SO3AnimTrackMoveSequenceKey (mmachine m)
 SO3AnimTrackMoveSequenceKey : Add an animation to an animation sequence.
int SO3CbAnimationEnded (mmachine m)
 SO3CbAnimationEnded : Define the callback scol had to be called when an animation ended event is called.
int SCOLloadAnim (mmachine m, cbmachine w)
int SCOLfreeAnim ()

Variables

int ANIMATION_END_EVENT
 main include
char * ANIMname [NBANIMPKG]
int(* ANIMFunc [NBANIMPKG])(mmachine m)
int ANIMnarg [NBANIMPKG]
char * ANIMType [NBANIMPKG]

Define Documentation

#define NBANIMPKG   54

Definition at line 2637 of file SCOLAnim.cpp.


Function Documentation

int getAnimationCallbackEndEvent ( mmachine  m,
WindowHandle  h,
unsigned  msg,
UINT  id,
LONG  param,
int *  ret 
)

C function that prepares the VM for the execution of the end animation callback.

Parameters:
m : current machine
h : main scol window
msg : message
id : pointer of the obj
param : data pointer
ret : user parameter
Returns:
res : 0 if success

Definition at line 65 of file SCOLAnim.cpp.

int SCOLfreeAnim (  ) 

Definition at line 2882 of file SCOLAnim.cpp.

int SCOLloadAnim ( mmachine  m,
cbmachine  w 
)

Definition at line 2874 of file SCOLAnim.cpp.


Variable Documentation

main include

global declarations

Definition at line 52 of file SCOLAnim.cpp.

int(* ANIMFunc[NBANIMPKG])(mmachine m)

Definition at line 2697 of file SCOLAnim.cpp.

char* ANIMname[NBANIMPKG]

Definition at line 2639 of file SCOLAnim.cpp.

int ANIMnarg[NBANIMPKG]

Definition at line 2756 of file SCOLAnim.cpp.

char* ANIMType[NBANIMPKG]

Definition at line 2815 of file SCOLAnim.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