Example #1
0
Tracker::Tracker() {
	EnableGesture();
	Init();

	pxcU32 w = 320;
	pxcU32 h = 240;

	if (QueryImageSize(PXCImage::IMAGE_TYPE_DEPTH, w, h)) {
		tex.allocate(w, h, GL_LUMINANCE);
		labelMap = new unsigned char[w * h];
	}

	geonode = new PXCGesture::GeoNode();
}
	MyPipeline(void):UtilPipeline(),m_render(L"Gesture Viewer") { 
		EnableGesture();
	}