3ds Max C++ API Reference
BipedApi.h File Reference
#include "BipExp.h"
#include "../maxheap.h"
#include "../strbasic.h"
#include "../tab.h"
#include "../geom/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  IBipDriver
 
class  IBipFootStep
 
class  MocapManager
 
class  MixerManager
 
class  IBipedKey
 
class  IBipedVertKey
 
class  IBipedHorzKey
 
class  IBipedTurnKey
 
class  IBipedBodyKey
 
class  IBipedHeadKey
 
class  IBipedPropKey
 
class  IBipedFSKey
 
class  MultFprintParams
 

Macros

#define I_BIPDRIVER   0x9165
 
#define I_BIPFOOTSTEP   0x9166
 
#define GetBipDriverInterface(anim)   ((IBipDriver*)(anim)->GetInterface(I_BIPDRIVER))
 
#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 IBipDriverCreateNewBiped (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 MultFprintParamsGetMultFprintParams (int gait)
 
BIPExport int GetFSAddSide ()
 
BIPExport void SetFSAddSide (int side)
 

Variables

BIPExport MocapManager TheMocapManager
 
BIPExport MixerManager TheMixerManager
 

Macro Definition Documentation

◆ I_BIPDRIVER

#define I_BIPDRIVER   0x9165

◆ I_BIPFOOTSTEP

#define I_BIPFOOTSTEP   0x9166

◆ GetBipDriverInterface

#define GetBipDriverInterface (   anim)    ((IBipDriver*)(anim)->GetInterface(I_BIPDRIVER))

◆ GetBipFSInterface

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

◆ BMODE_FIGURE

#define BMODE_FIGURE   (1<<0)

◆ BMODE_FOOTSTEP

#define BMODE_FOOTSTEP   (1<<1)

◆ BMODE_MOTIONFLOW

#define BMODE_MOTIONFLOW   (1<<2)

◆ BMODE_BUFFER

#define BMODE_BUFFER   (1<<3)

◆ BMODE_BENDLINKS

#define BMODE_BENDLINKS   (1<<4)

◆ BMODE_RUBBERBAND

#define BMODE_RUBBERBAND   (1<<5)

◆ BMODE_SCALESTRIDE

#define BMODE_SCALESTRIDE   (1<<6)

◆ BMODE_INPLACE

#define BMODE_INPLACE   (1<<7)

◆ BMODE_INPLACE_X

#define BMODE_INPLACE_X   (1<<8)

◆ BMODE_INPLACE_Y

#define BMODE_INPLACE_Y   (1<<9)

◆ BMODE_MIXER

#define BMODE_MIXER   (1<<10)

◆ BMODE_MOVEALL

#define BMODE_MOVEALL   (1<<11)

◆ BDISP_BONES

#define BDISP_BONES   (1<<0)

◆ BDISP_OBJECTS

#define BDISP_OBJECTS   (1<<1)

◆ BDISP_FOOTSTEPS

#define BDISP_FOOTSTEPS   (1<<2)

◆ BDISP_FOOTSTEPNUM

#define BDISP_FOOTSTEPNUM   (1<<3)

◆ BDISP_TRAJ

#define BDISP_TRAJ   (1<<4)

◆ WALKGAIT

#define WALKGAIT   1

◆ RUNGAIT

#define RUNGAIT   2

◆ JUMPGAIT

#define JUMPGAIT   3

◆ COPY_POSTURE

#define COPY_POSTURE   0

◆ COPY_POSE

#define COPY_POSE   1

◆ COPY_TRACK

#define COPY_TRACK   2

◆ BTYPE_SKELETON

#define BTYPE_SKELETON   0

◆ BTYPE_MALE

#define BTYPE_MALE   1

◆ BTYPE_FEMALE

#define BTYPE_FEMALE   2

◆ BTYPE_CLASSIC

#define BTYPE_CLASSIC   3

◆ NUMPIVOTS

#define NUMPIVOTS   27

◆ MB_FSJUMP

#define MB_FSJUMP   0

◆ MB_FFMODE

#define MB_FFMODE   1

◆ MB_RCNTFIG

#define MB_RCNTFIG   2

◆ KRS_ALL

#define KRS_ALL   0

◆ KRS_HORZ

#define KRS_HORZ   1

◆ KRS_VERT

#define KRS_VERT   2

◆ KRS_ROT

#define KRS_ROT   3

◆ KRS_PLV

#define KRS_PLV   4

◆ KRS_SPN

#define KRS_SPN   5

◆ KRS_NCK

#define KRS_NCK   6

◆ KRS_LARM

#define KRS_LARM   7

◆ KRS_RARM

#define KRS_RARM   8

◆ KRS_LLEG

#define KRS_LLEG   9

◆ KRS_RLEG

#define KRS_RLEG   10

◆ KRS_TAIL

#define KRS_TAIL   11

◆ LIMB_KNEE

#define LIMB_KNEE   0

◆ LIMB_ELBOW

#define LIMB_ELBOW   1

◆ LIMB_FOOT

#define LIMB_FOOT   2

◆ LIMB_HAND

#define LIMB_HAND   3

◆ ANGLE_ALIGN

#define ANGLE_ALIGN   0

◆ POINT_ALIGN

#define POINT_ALIGN   1

◆ AUTO_ALIGN

#define AUTO_ALIGN   2

◆ BODYSPACE

#define BODYSPACE   0

◆ WORLDSPACE

#define WORLDSPACE   1

◆ OBJECTSPACE

#define OBJECTSPACE   2

◆ WORLD_PROP

#define WORLD_PROP   0

◆ BODY_PROP

#define BODY_PROP   1

◆ RHAND_PROP

#define RHAND_PROP   2

◆ LHAND_PROP

#define LHAND_PROP   3

◆ FS_LSEL

#define FS_LSEL   (1<<0)

◆ FS_RSEL

#define FS_RSEL   (1<<1)

◆ FS_LFT

#define FS_LFT   1

◆ FS_RGT

#define FS_RGT   0

Function Documentation

◆ CreateNewBiped()

BIPExport IBipDriver* 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 
)

◆ BipGetTicksPerFrame()

BIPExport int BipGetTicksPerFrame ( )

◆ GetMsgBoxStatus()

bool GetMsgBoxStatus ( int  which)

◆ SetMsgBoxStatus()

void SetMsgBoxStatus ( int  which,
bool  hide 
)

◆ GetMultFprintParams()

BIPExport MultFprintParams* GetMultFprintParams ( int  gait)

◆ GetFSAddSide()

BIPExport int GetFSAddSide ( )

◆ SetFSAddSide()

BIPExport void SetFSAddSide ( int  side)

Variable Documentation

◆ TheMocapManager

BIPExport MocapManager TheMocapManager
extern

◆ TheMixerManager

BIPExport MixerManager TheMixerManager
extern