CS/BipedApi.h File Reference
 
 
 
CS/BipedApi.h File Reference
#include "BipExp.h"
#include "../maxheap.h"
#include "../strbasic.h"
#include "../tab.h"
#include "../matrix3.h"
#include "../interval.h"
#include "../control.h"
#include "../istdplug.h"

Classes

struct   SaveSubAnimInfo
  Structure specifying which controllers to save in a BIP file. More...
struct   LoadSubAnimInfo
  Structure specifying which controllers to load from a BIP file. More...
class   IBipMaster
class   IBipFootStep
class   MocapManager
class   MixerManager
class   IBipedKey
class   IBipedVertKey
class   IBipedHorzKey
class   IBipedTurnKey
class   IBipedBodyKey
class   IBipedHeadKey
class   IBipedPropKey
class   IBipedFSKey
class   MultFprintParams

Defines

#define  I_BIPMASTER   0x9165
#define  I_BIPFOOTSTEP   0x9166
#define  GetBipMasterInterface(anim)   ((IBipMaster*)(anim)->GetInterface(I_BIPMASTER))
#define  GetBipFSInterface(anim)   ((IBipFootStep*)(anim)->GetInterface(I_BIPFOOTSTEP))
#define  BMODE_FIGURE   (1<<0)
#define  BMODE_FOOTSTEP   (1<<1)
#define  BMODE_MOTIONFLOW   (1<<2)
#define  BMODE_BUFFER   (1<<3)
#define  BMODE_BENDLINKS   (1<<4)
#define  BMODE_RUBBERBAND   (1<<5)
#define  BMODE_SCALESTRIDE   (1<<6)
#define  BMODE_INPLACE   (1<<7)
#define  BMODE_INPLACE_X   (1<<8)
#define  BMODE_INPLACE_Y   (1<<9)
#define  BMODE_MIXER   (1<<10)
#define  BMODE_MOVEALL   (1<<11)
#define  BDISP_BONES   (1<<0)
#define  BDISP_OBJECTS   (1<<1)
#define  BDISP_FOOTSTEPS   (1<<2)
#define  BDISP_FOOTSTEPNUM   (1<<3)
#define  BDISP_TRAJ   (1<<4)
#define  WALKGAIT   1
#define  RUNGAIT   2
#define  JUMPGAIT   3
#define  COPY_POSTURE   0
#define  COPY_POSE   1
#define  COPY_TRACK   2
#define  BTYPE_SKELETON   0
#define  BTYPE_MALE   1
#define  BTYPE_FEMALE   2
#define  BTYPE_CLASSIC   3
#define  NUMPIVOTS   27
#define  MB_FSJUMP   0
#define  MB_FFMODE   1
#define  MB_RCNTFIG   2
#define  KRS_ALL   0
#define  KRS_HORZ   1
#define  KRS_VERT   2
#define  KRS_ROT   3
#define  KRS_PLV   4
#define  KRS_SPN   5
#define  KRS_NCK   6
#define  KRS_LARM   7
#define  KRS_RARM   8
#define  KRS_LLEG   9
#define  KRS_RLEG   10
#define  KRS_TAIL   11
#define  LIMB_KNEE   0
#define  LIMB_ELBOW   1
#define  LIMB_FOOT   2
#define  LIMB_HAND   3
#define  ANGLE_ALIGN   0
#define  POINT_ALIGN   1
#define  AUTO_ALIGN   2
#define  BODYSPACE   0
#define  WORLDSPACE   1
#define  OBJECTSPACE   2
#define  WORLD_PROP   0
#define  BODY_PROP   1
#define  RHAND_PROP   2
#define  LHAND_PROP   3
#define  FS_LSEL   (1<<0)
#define  FS_RSEL   (1<<1)
#define  FS_LFT   1
#define  FS_RGT   0

Functions

BIPExport IBipMaster CreateNewBiped (float height, float angle, const Point3 &wpos, BOOL arms=TRUE, BOOL triPelvis=TRUE, int nnecklinks=1, int nspinelinks=4, int nleglinks=3, int ntaillinks=0, int npony1links=0, int npony2links=0, int numfingers=5, int nfinglinks=3, int numtoes=5, int ntoelinks=3, float ankleAttach=0.2, BOOL prop1exists=FALSE, BOOL prop2exists=FALSE, BOOL prop3exists=FALSE, int forearmTwistLinks=0, int upperarmTwistLinks=0, int thighTwistLinks=0, int calfTwistLinks=0, int horseTwistLinks=0)
BIPExport int  BipGetTicksPerFrame ()
bool  GetMsgBoxStatus (int which)
void  SetMsgBoxStatus (int which, bool hide)
BIPExport MultFprintParams GetMultFprintParams (int gait)
BIPExport int  GetFSAddSide ()
BIPExport void  SetFSAddSide (int side)

Variables

BIPExport MocapManager  TheMocapManager
BIPExport MixerManager  TheMixerManager

Define Documentation

#define I_BIPMASTER   0x9165
#define I_BIPFOOTSTEP   0x9166
#define GetBipMasterInterface (   anim )    ((IBipMaster*)(anim)->GetInterface(I_BIPMASTER))
#define GetBipFSInterface (   anim )    ((IBipFootStep*)(anim)->GetInterface(I_BIPFOOTSTEP))
#define BMODE_FIGURE   (1<<0)
#define BMODE_FOOTSTEP   (1<<1)
#define BMODE_MOTIONFLOW   (1<<2)
#define BMODE_BUFFER   (1<<3)
#define BMODE_BENDLINKS   (1<<4)
#define BMODE_RUBBERBAND   (1<<5)
#define BMODE_SCALESTRIDE   (1<<6)
#define BMODE_INPLACE   (1<<7)
#define BMODE_INPLACE_X   (1<<8)
#define BMODE_INPLACE_Y   (1<<9)
#define BMODE_MIXER   (1<<10)
#define BMODE_MOVEALL   (1<<11)
#define BDISP_BONES   (1<<0)
#define BDISP_OBJECTS   (1<<1)
#define BDISP_FOOTSTEPS   (1<<2)
#define BDISP_FOOTSTEPNUM   (1<<3)
#define BDISP_TRAJ   (1<<4)
#define WALKGAIT   1
#define RUNGAIT   2
#define JUMPGAIT   3
#define COPY_POSTURE   0
#define COPY_POSE   1
#define COPY_TRACK   2
#define BTYPE_SKELETON   0
#define BTYPE_MALE   1
#define BTYPE_FEMALE   2
#define BTYPE_CLASSIC   3
#define NUMPIVOTS   27
#define MB_FSJUMP   0
#define MB_FFMODE   1
#define MB_RCNTFIG   2
#define KRS_ALL   0
#define KRS_HORZ   1
#define KRS_VERT   2
#define KRS_ROT   3
#define KRS_PLV   4
#define KRS_SPN   5
#define KRS_NCK   6
#define KRS_LARM   7
#define KRS_RARM   8
#define KRS_LLEG   9
#define KRS_RLEG   10
#define KRS_TAIL   11
#define LIMB_KNEE   0
#define LIMB_ELBOW   1
#define LIMB_FOOT   2
#define LIMB_HAND   3
#define ANGLE_ALIGN   0
#define POINT_ALIGN   1
#define AUTO_ALIGN   2
#define BODYSPACE   0
#define WORLDSPACE   1
#define OBJECTSPACE   2
#define WORLD_PROP   0
#define BODY_PROP   1
#define RHAND_PROP   2
#define LHAND_PROP   3
#define FS_LSEL   (1<<0)
#define FS_RSEL   (1<<1)
#define FS_LFT   1
#define FS_RGT   0

Function Documentation

BIPExport IBipMaster* CreateNewBiped ( float  height,
float  angle,
const Point3 wpos,
BOOL  arms = TRUE,
BOOL  triPelvis = TRUE,
int  nnecklinks = 1,
int  nspinelinks = 4,
int  nleglinks = 3,
int  ntaillinks = 0,
int  npony1links = 0,
int  npony2links = 0,
int  numfingers = 5,
int  nfinglinks = 3,
int  numtoes = 5,
int  ntoelinks = 3,
float  ankleAttach = 0.2,
BOOL  prop1exists = FALSE,
BOOL  prop2exists = FALSE,
BOOL  prop3exists = FALSE,
int  forearmTwistLinks = 0,
int  upperarmTwistLinks = 0,
int  thighTwistLinks = 0,
int  calfTwistLinks = 0,
int  horseTwistLinks = 0 
)
BIPExport int BipGetTicksPerFrame ( )
bool GetMsgBoxStatus ( int  which )
void SetMsgBoxStatus ( int  which,
bool  hide 
)
BIPExport MultFprintParams* GetMultFprintParams ( int  gait )
BIPExport int GetFSAddSide ( )
BIPExport void SetFSAddSide ( int  side )

Variable Documentation