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"

Go to the source code of this file.

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

Definition at line 38 of file BipedApi.h.

#define I_BIPFOOTSTEP   0x9166

Definition at line 39 of file BipedApi.h.

#define GetBipMasterInterface (   anim )    ((IBipMaster*)(anim)->GetInterface(I_BIPMASTER))

Definition at line 40 of file BipedApi.h.

#define GetBipFSInterface (   anim )    ((IBipFootStep*)(anim)->GetInterface(I_BIPFOOTSTEP))

Definition at line 41 of file BipedApi.h.

#define BMODE_FIGURE   (1<<0)

Definition at line 44 of file BipedApi.h.

#define BMODE_FOOTSTEP   (1<<1)

Definition at line 45 of file BipedApi.h.

#define BMODE_MOTIONFLOW   (1<<2)

Definition at line 46 of file BipedApi.h.

#define BMODE_BUFFER   (1<<3)

Definition at line 47 of file BipedApi.h.

#define BMODE_BENDLINKS   (1<<4)

Definition at line 48 of file BipedApi.h.

#define BMODE_RUBBERBAND   (1<<5)

Definition at line 49 of file BipedApi.h.

#define BMODE_SCALESTRIDE   (1<<6)

Definition at line 50 of file BipedApi.h.

#define BMODE_INPLACE   (1<<7)

Definition at line 51 of file BipedApi.h.

#define BMODE_INPLACE_X   (1<<8)

Definition at line 52 of file BipedApi.h.

#define BMODE_INPLACE_Y   (1<<9)

Definition at line 53 of file BipedApi.h.

#define BMODE_MIXER   (1<<10)

Definition at line 54 of file BipedApi.h.

#define BMODE_MOVEALL   (1<<11)

Definition at line 55 of file BipedApi.h.

#define BDISP_BONES   (1<<0)

Definition at line 58 of file BipedApi.h.

#define BDISP_OBJECTS   (1<<1)

Definition at line 59 of file BipedApi.h.

#define BDISP_FOOTSTEPS   (1<<2)

Definition at line 60 of file BipedApi.h.

#define BDISP_FOOTSTEPNUM   (1<<3)

Definition at line 61 of file BipedApi.h.

#define BDISP_TRAJ   (1<<4)

Definition at line 62 of file BipedApi.h.

#define WALKGAIT   1

Definition at line 65 of file BipedApi.h.

#define RUNGAIT   2

Definition at line 66 of file BipedApi.h.

#define JUMPGAIT   3

Definition at line 67 of file BipedApi.h.

#define COPY_POSTURE   0

Definition at line 70 of file BipedApi.h.

#define COPY_POSE   1

Definition at line 71 of file BipedApi.h.

#define COPY_TRACK   2

Definition at line 72 of file BipedApi.h.

#define BTYPE_SKELETON   0

Definition at line 75 of file BipedApi.h.

#define BTYPE_MALE   1

Definition at line 76 of file BipedApi.h.

#define BTYPE_FEMALE   2

Definition at line 77 of file BipedApi.h.

#define BTYPE_CLASSIC   3

Definition at line 78 of file BipedApi.h.

#define NUMPIVOTS   27

Definition at line 80 of file BipedApi.h.

#define MB_FSJUMP   0

Definition at line 97 of file BipedApi.h.

#define MB_FFMODE   1

Definition at line 98 of file BipedApi.h.

#define MB_RCNTFIG   2

Definition at line 99 of file BipedApi.h.

#define KRS_ALL   0

Definition at line 403 of file BipedApi.h.

#define KRS_HORZ   1

Definition at line 404 of file BipedApi.h.

#define KRS_VERT   2

Definition at line 405 of file BipedApi.h.

#define KRS_ROT   3

Definition at line 406 of file BipedApi.h.

#define KRS_PLV   4

Definition at line 407 of file BipedApi.h.

#define KRS_SPN   5

Definition at line 408 of file BipedApi.h.

#define KRS_NCK   6

Definition at line 409 of file BipedApi.h.

#define KRS_LARM   7

Definition at line 410 of file BipedApi.h.

#define KRS_RARM   8

Definition at line 411 of file BipedApi.h.

#define KRS_LLEG   9

Definition at line 412 of file BipedApi.h.

#define KRS_RLEG   10

Definition at line 413 of file BipedApi.h.

#define KRS_TAIL   11

Definition at line 414 of file BipedApi.h.

#define LIMB_KNEE   0

Definition at line 418 of file BipedApi.h.

#define LIMB_ELBOW   1

Definition at line 419 of file BipedApi.h.

#define LIMB_FOOT   2

Definition at line 420 of file BipedApi.h.

#define LIMB_HAND   3

Definition at line 421 of file BipedApi.h.

#define ANGLE_ALIGN   0

Definition at line 423 of file BipedApi.h.

#define POINT_ALIGN   1

Definition at line 424 of file BipedApi.h.

#define AUTO_ALIGN   2

Definition at line 425 of file BipedApi.h.

#define BODYSPACE   0

Definition at line 588 of file BipedApi.h.

#define WORLDSPACE   1

Definition at line 589 of file BipedApi.h.

#define OBJECTSPACE   2

Definition at line 590 of file BipedApi.h.

#define WORLD_PROP   0

Definition at line 610 of file BipedApi.h.

#define BODY_PROP   1

Definition at line 611 of file BipedApi.h.

#define RHAND_PROP   2

Definition at line 612 of file BipedApi.h.

#define LHAND_PROP   3

Definition at line 613 of file BipedApi.h.

#define FS_LSEL   (1<<0)

Definition at line 623 of file BipedApi.h.

#define FS_RSEL   (1<<1)

Definition at line 624 of file BipedApi.h.

#define FS_LFT   1

Definition at line 626 of file BipedApi.h.

#define FS_RGT   0

Definition at line 627 of file BipedApi.h.


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