MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / OutOfPoseCallback

Method OutOfPoseCallback

Samples/NiUserSelection/PoseToggleUserSelector.cpp:172–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void XN_CALLBACK_TYPE PoseToggleUserSelector::OutOfPoseCallback(xn::PoseDetectionCapability& /*capability*/, const XnChar* strPose, XnUserID nUserId,void* pCookie)
173{
174 PoseToggleUserSelector *pPoseUserSelector=(PoseToggleUserSelector *)pCookie;
175 if(xnOSStrCmp(strPose,pPoseUserSelector->m_strPoseToTrack)!=0)
176 return; // this is not the pose we are looking for.
177 pPoseUserSelector->DetectOutOfPose(nUserId);
178
179}

Callers

nothing calls this directly

Calls 2

DetectOutOfPoseMethod · 0.80
xnOSStrCmpFunction · 0.50

Tested by

no test coverage detected