Tracks.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 // The Biped Tracks
00004 #define KEY_NOTHING    -1
00005 #define KEY_LARM        0
00006 #define KEY_RARM        1
00007 #define KEY_LHAND       2
00008 #define KEY_RHAND       3
00009 #define KEY_LLEG        4
00010 #define KEY_RLEG        5
00011 #define KEY_LFOOT       6
00012 #define KEY_RFOOT       7
00013 #define KEY_SPINE       8
00014 #define KEY_TAIL        9 
00015 #define KEY_HEAD        10                  
00016 #define KEY_PELVIS      11      
00017 #define KEY_VERTICAL    12
00018 #define KEY_HORIZONTAL  13
00019 #define KEY_TURN        14
00020 #define KEY_FOOTPRINTS  15
00021 #define KEY_NECK        16
00022 #define KEY_PONY1       17
00023 #define KEY_PONY2       18
00024 #define KEY_PROP1       19
00025 #define KEY_PROP2       20
00026 #define KEY_PROP3       21
00027 // these two are no longer active, but are still defined for old files
00028 #define KEY_LFARM       22
00029 #define KEY_RFARM       23
00030 #define NKEYTRACKS      22
00031 
00032 // nubs
00033 #define NUB_START    NKEYTRACKS
00034 #define NUB_RHAND   (NKEYTRACKS+0)
00035 #define NUB_LHAND   (NKEYTRACKS+1) 
00036 #define NUB_LFOOT   (NKEYTRACKS+2) 
00037 #define NUB_RFOOT   (NKEYTRACKS+3)
00038 #define NUB_TAIL    (NKEYTRACKS+4) 
00039 #define NUB_HEAD    (NKEYTRACKS+5) 
00040 #define NUB_PONY1   (NKEYTRACKS+6) 
00041 #define NUB_PONY2   (NKEYTRACKS+7) 
00042 #define NNUBTRACKS      8
00043 
00044 // twist tracks, no keys
00045 #define TWIST_START     100
00046 #define TWS_LFARM       100
00047 #define TWS_RFARM       101
00048 #define TWS_LUPARM      102
00049 #define TWS_RUPARM      103
00050 #define TWS_LTHIGH      104
00051 #define TWS_RTHIGH      105
00052 #define TWS_LCALF       106
00053 #define TWS_RCALF       107
00054 #define TWS_LHORSE      108
00055 #define TWS_RHORSE      109
00056 #define NTWISTTRACKS    10
00057 
00058 // maximum 200 Xtra tracks
00059 // Xtra ids: 200-399, Xtra nub ids: 400-599
00060 #define XTRA_START      200
00061 #define XTRA_NUB_START  400
00062 #define MAXXTRAS        200
00063 #define XTRA_NUBOFFSET  200 // add this to an Xtra track id to get its nub id
00064 
00065 // RK: 10/12/99 defines for adapt locks
00066 #define ADAPT_LOCKHOR   0   
00067 #define ADAPT_LOCKVER   1
00068 #define ADAPT_LOCKTURN  2
00069 #define ADAPT_LOCKLLEG  3
00070 #define ADAPT_LOCKRLEG  4
00071 #define ADAPT_LOCKFFRM  5
00072 #define ADAPT_LOCKTIME  6
00073 
00074 // Track Selection used in IBipMaster::GetTrackSelection.. SetTrackSelection.
00075 //bodytracks
00076 #define NO_TRACK        0
00077 #define HOR_TRACK       1
00078 #define VER_TRACK       2
00079 #define ROT_TRACK       3
00080 #define HORVER_TRACK    4
00081 #define HORROT_TRACK    5
00082 #define VERROT_TRACK    6
00083 #define HORVERROT_TRACK 7
00084 #define DEFAULT_TRACK   8 // the remembered track if the com is locked, otherwise HOR_TRACK
00085 
00086 #define MAXFINGERS      5
00087 #define MAXFINGERLINKS  4
00088 #define MAXLEGJNTS      4
00089