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

Function GetCalibrationErrorString

Samples/NiUserTracker/SceneDrawer.cpp:217–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217const XnChar* GetCalibrationErrorString(XnCalibrationStatus error)
218{
219 switch (error)
220 {
221 case XN_CALIBRATION_STATUS_OK:
222 return "OK";
223 case XN_CALIBRATION_STATUS_NO_USER:
224 return "NoUser";
225 case XN_CALIBRATION_STATUS_ARM:
226 return "Arm";
227 case XN_CALIBRATION_STATUS_LEG:
228 return "Leg";
229 case XN_CALIBRATION_STATUS_HEAD:
230 return "Head";
231 case XN_CALIBRATION_STATUS_TORSO:
232 return "Torso";
233 case XN_CALIBRATION_STATUS_TOP_FOV:
234 return "Top FOV";
235 case XN_CALIBRATION_STATUS_SIDE_FOV:
236 return "Side FOV";
237 case XN_CALIBRATION_STATUS_POSE:
238 return "Pose";
239 default:
240 return "Unknown";
241 }
242}
243const XnChar* GetPoseErrorString(XnPoseDetectionStatus error)
244{
245 switch (error)

Callers 2

DrawDepthMapFunction · 0.85
TranslateStateToLabelMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected