Group 5 by Yang Hu, Qizhang Dai

1. KinectComponent is a precompiled vs2010 project. It has all the source code and execute file 

2. Kinect Src contains the source code and linked library and header files. If you want to build it by yourself, please make sure you include all files under "include", and link to libraries under "lib" folder. 

3. I drop all the functionality that we might not need to use in "Kinect Src"(mostltly SceneDraw method, which we can use the SceneDrawer class from group 3). If you need them, please use the kinect class in KinectComponent


File Description:

Kinect.h 		-- kinect class header
Kinect.cpp 		-- kinect class implementation
BodyInfo.h 		-- bodyinfo class header
BodyInfo.cpp 		-- bodyinfo implementation
kinectFunction.h	-- global function kinect class need to use
Setup_xml.xml		-- setup up xml file needed for openni


A typical main will look like:

#include "Kinect.h"

void main() {
	int id = 0x01;
	Kinect *kinect = new Kinect(id);
	BodyInfo body;
	kinect->initKinect();	//init kinect and connect to it
	while(1) {
		kinect->updateBodyInfo(); 	//update body info
		body = kinect->getBodyInfo();	//get body info
		if(body.bTracking)
			printf("%.0f, %.0f, %.0f\n",body.pRHand.X,body.pRHand.Y,body.pRHand.Z);
		//else
			//printf("No Body Info Updated\n");
	}
}