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

Function GetPoseErrorString

Samples/NiUserTracker/SceneDrawer.cpp:243–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241 }
242}
243const XnChar* GetPoseErrorString(XnPoseDetectionStatus error)
244{
245 switch (error)
246 {
247 case XN_POSE_DETECTION_STATUS_OK:
248 return "OK";
249 case XN_POSE_DETECTION_STATUS_NO_USER:
250 return "NoUser";
251 case XN_POSE_DETECTION_STATUS_TOP_FOV:
252 return "Top FOV";
253 case XN_POSE_DETECTION_STATUS_SIDE_FOV:
254 return "Side FOV";
255 case XN_POSE_DETECTION_STATUS_ERROR:
256 return "General error";
257 default:
258 return "Unknown";
259 }
260}
261
262
263void DrawDepthMap(const xn::DepthMetaData& dmd, const xn::SceneMetaData& smd)

Callers 1

DrawDepthMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected