9#define NI_JTXT_FILE_ID "NI_JOINTS_TEXT_FILE"
12#define NI_NORML_JOINT_NUM 33
13#define NI_SPECL_JOINT_NUM 4
14#define NI_TOTAL_JOINT_NUM 37
17#define NI_OPENNI_JOINT_NUM 25
18#define NI_OPENNI2_JOINT_NUM 16
19#define NI_KINECT_JOINT_NUM 20
22#define NI_SDK_IS_TRACKING 0x0100
23#define NI_SDK_PROFILE_UPPER 0x1000
24#define NI_SDK_AVATAR_TRAILER 0x2000
26#define NI_PROFILE_UPPER 3
50#define NI_L_FNGRTIP 16
57#define NI_R_FNGRTIP 22
156typedef struct __NiJointData
170typedef struct __NiFrameData
193#define NiMirrorJointNum(j) NiSDKMirrorJointNum((j), NiSDK_None)
202#define Ni2SDKJointNum(j, l) Ni2SDKPosJointNum((j), (l))
225void NiGetJointEuler(
int joint, Quaternion<double>* quat, Vector<double>* vect);
226void NiSetJointEuler(
int joint, Vector<double>* vect, Quaternion<double>* quat);
251 Vector<int>* crd,
double* agl, CRingBuffer* vrg, CRingBuffer* qrg);
void clearNiJointsData(void)
Quaternion< double > niRotQuat[NI_TOTAL_JOINT_NUM]
void copyJoints2NiJoints(BOOL mirror)
Vector< double > * posVect
void connectJointsData(Vector< double > *vct, Quaternion< double > *qut, Vector< int > *crd, double *agl, CRingBuffer *vrg, CRingBuffer *qrg)
Vector< double > niPosVect[NI_TOTAL_JOINT_NUM]
double niJntAngl[NI_TOTAL_JOINT_NUM]
Quaternion< double > * rotQuat
NiFrameData * makeFramesData(int frame, int joint_num, int *frame_num)
std::string NiJointName(int n)
void NiInitRBoundJointsRotation(void)
void NiSetOpenNI2JointNums(void)
void NiSetJointEuler(int joint, Vector< double > *vect, Quaternion< double > *quat)
int JointName2NiSDK(char *jname, NiSDK_Lib lib)
void NiCorrectJointsRotation(Quaternion< double > *quat, NiSDK_Lib lib)
int NiSDKMirrorJointNum(int joint, NiSDK_Lib lib)
void NiGetJointEuler(int joint, Quaternion< double > *quat, Vector< double > *vect)
void NiCorrectJointEuler(int joint, Quaternion< double > *quat, RBound< double > rb)
int Ni2SDKPosJointNum(int joint, NiSDK_Lib lib)
void NiSetKinectJointNums(void)
void freeFramesData(NiFrameData *frmdata, int frm_num)
void NiSetOpenNIJointNums(void)
std::string NiSDK2JointName(int joint, NiSDK_Lib lib)
int Ni2SDKRotJointNum(int joint, NiSDK_Lib lib)
int NiJointNum(char *name)
Quaternion< double > quat