00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __GU_ArmParms_h__
00020 #define __GU_ArmParms_h__
00021
00022 #include "GU_API.h"
00023 #include <UT/UT_Matrix4.h>
00024
00025 class GB_PrimitiveGroup;
00026
00027 #define GU_ARM_DIVS 5
00028
00029 class GU_API GU_ArmParms
00030 {
00031 public:
00032
00033 GU_ArmParms();
00034 ~GU_ArmParms();
00035
00036 unsigned axis:1,
00037 autoelbow:1,
00038 flipelbow:1,
00039 rotatehand:1,
00040 captureType:1,
00041
00042 extra_padding:27;
00043
00044 #if 0
00045 int axis;
00046 int autoelbow;
00047 int flipelbow;
00048 int rotatehand;
00049 #endif
00050
00051 float elbowtwist;
00052 float radius;
00053
00054 float clavicle;
00055 float humerous;
00056 float ulna;
00057 float hand;
00058
00059 float shoulder;
00060 float elbow;
00061 float wrist;
00062
00063 UT_Matrix4 mhand;
00064 float hrx, hry, hrz;
00065
00066 float stx[GU_ARM_DIVS], stz[GU_ARM_DIVS], ssz[GU_ARM_DIVS];
00067 float etx[GU_ARM_DIVS], etz[GU_ARM_DIVS], esz[GU_ARM_DIVS];
00068 float wtx[GU_ARM_DIVS], wtz[GU_ARM_DIVS], wsz[GU_ARM_DIVS];
00069
00070 GB_PrimitiveGroup *primGroup;
00071
00072 };
00073
00074 class GU_API GU_ArmAngles
00075 {
00076 public:
00077 float hrx, hry, hrz;
00078 float Hrx, Hry, Hrz, Htx, Hty, Htz;
00079 float srx, sry;
00080 float arx;
00081 float ury;
00082 };
00083
00084 #endif