1#ifndef __JBXL_BVH_TOOL_H_
2#define __JBXL_BVH_TOOL_H_
14#define BVH_NODE_HIERARCHY 0
15#define BVH_NODE_ROOT 1
16#define BVH_NODE_JOINT 2
19#define BVH_STR_HIERARCHY "HIERARCHY"
20#define BVH_STR_MOTION "MOTION"
22#define BVH_STR_ROOT "ROOT"
23#define BVH_STR_JOINT "JOINT"
24#define BVH_STR_END "End"
26#define BVH_STR_OFFSET "OFFSET"
27#define BVH_STR_CHANNELS "CHANNELS"
29#define BVH_STR_FRAMES "Frames:"
30#define BVH_STR_FRAME "Frame"
31#define BVH_STR_TIME "Time:"
33#define BVH_STR_FRAME_TIME "Frame Time:"
34#define BVH_STR_PX "Xposition"
35#define BVH_STR_PY "Yposition"
36#define BVH_STR_PZ "Zposition"
37#define BVH_STR_RX "Xrotation"
38#define BVH_STR_RY "Yrotation"
39#define BVH_STR_RZ "Zrotation"
92#define free_BVHData(t) del_BVHData(t)
114#define bvh_read_data(f) bvh_parse_data((f))
double * motion
MOTION データへのポインタ joint_num*frame_num.
int channels
総チャンネル数.チャンネル数の合計.モーションデータの数.
int framepsec
FPS = (int)(1.0/frame_time)
double frame_time
フレーム間の時間 sec
tTree * hierarchy
関節部のツリーデータへのポインタ.上記参照.
Tiny Tree Graph 構造ライブラリヘッダ