Exemple #1
0
void XnVPointDrawer::OnPointCreate(const XnVHandPointContext* cxt)
{
	printf("** %d\n", cxt->nID);
	// Create entry for the hand
	m_History[cxt->nID].clear();
	bShouldPrint = true;
	OnPointUpdate(cxt);
	bShouldPrint = true;
}
Exemple #2
0
void XnVPointDrawer::OnPointCreate(const XnVHandPointContext* cxt)
{
	printf("** %d\n", cxt->nID);
	// Create entry for the hand
	m_History[cxt->nID].clear();
	XnPoint3D hole;
	hole.X = -1;
	hole.Y = -1;
	hole.Z = 0;
	m_hole[cxt->nID] = hole;
	m_hand[cxt->nID] = UNKNOWN;
	m_finger[cxt->nID] = UNDEFINED;
	m_width[cxt->nID] = 0;
	bShouldPrint = true;
	OnPointUpdate(cxt);
	bShouldPrint = true;
}