www.pudn.com > 人体步态跟踪识别bate版.rar > WalkerTest.h


// WalkerTest.h: interface for the CWalkerTest class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_WALKERTEST_H__F4EE0129_1F92_4D5C_BBA2_E9D40FAC0809__INCLUDED_) 
#define AFX_WALKERTEST_H__F4EE0129_1F92_4D5C_BBA2_E9D40FAC0809__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CWalkerTest   
{ 
public: 
	 
	Vector path   = new Vector(); // store path 
	Walker walker = new Walker(); // walker to simulate human walk 
	 
	// for animation 
	Thread animator = null;        // thread for ainmation 
	int    animeTimeInterval = 50; // animation time interval 
	int    scale = 1;              // scale for drawing 
	 
	// for EAI 
	static boolean EAIControl = false; 
	 
	int TIMESTAMP = 500; 
	 
	Browser browser = null; 
	 
	vrml.external.Node humanoid = null; 
	 
	String humanoidName; 
	double len_thigh = 0; 
	double len_calf  = 0; 
	double len_foot  = 0; 
	 
	float[] loca_sacroiliac = new float[3]; 
	 
	EventOutSFVec3f humanoid_trans_out = null; 
	EventInSFVec3f  humanoid_trans_in  = null; 
	 
	EventInSFRotation humanoid_rot_in = null; 
	 
	EventInSFRotation l_hip_rot_in   = null; 
	EventInSFRotation l_knee_rot_in  = null; 
	EventInSFRotation l_ankle_rot_in = null; 
	EventInSFRotation r_hip_rot_in   = null; 
	EventInSFRotation r_knee_rot_in  = null; 
	EventInSFRotation r_ankle_rot_in = null; 
	 
	EventInSFRotation l_shoulder_rot_in = null; 
	EventInSFRotation r_shoulder_rot_in = null; 
	 
	EventOutSFVec3f l_hip_cen_out   = null; 
	EventOutSFVec3f l_knee_cen_out  = null; 
	EventOutSFVec3f l_ankle_cen_out = null; 
	 
	int walkconf_len = 0; 
	int walkconf_i   = 0; 
	int walkconf_k   = 0; 
	 
	CWalkerTest(); 
	virtual ~CWalkerTest(); 
 
}; 
 
#endif // !defined(AFX_WALKERTEST_H__F4EE0129_1F92_4D5C_BBA2_E9D40FAC0809__INCLUDED_)