| 300 | |
| 301 | |
| 302 | XnStatus UserTracker::GetUserStringPos(XnUserID nUserId, XnPoint3D &com, char *strLabel, XnUInt32 maxStrLen) |
| 303 | { |
| 304 | XnStatus res; |
| 305 | res=m_UserGenerator.GetCoM(nUserId, com); |
| 306 | if(res!=XN_STATUS_OK) |
| 307 | return res; |
| 308 | res=m_DepthGenerator.ConvertRealWorldToProjective(1, &com, &com); |
| 309 | if(res!=XN_STATUS_OK) |
| 310 | return res; |
| 311 | |
| 312 | m_pUserSelector->GetUserLabel(nUserId,strLabel,maxStrLen); |
| 313 | return XN_STATUS_OK; |
| 314 | } |
| 315 | |
| 316 | XnStatus UserTracker::GetLimbs(XnUserID nUserID, XnPoint3D *pLimbs,XnFloat *pConfidence, XnUInt16 &numLimbs) |
| 317 | { |
no test coverage detected