#include <XnCppWrapper.h>

Allows access to Pose Detection capability functions. see Pose Detection Capability for additional details.
Definition at line 3480 of file XnCppWrapper.h.
typedef struct xn::PoseDetectionCapability::PoseCookie xn::PoseDetectionCapability::PoseCookie [private] |
| typedef void(XN_CALLBACK_TYPE* xn::PoseDetectionCapability::PoseDetection)(PoseDetectionCapability &pose, const XnChar *strPose, XnUserID user, void *pCookie) |
Callback for indication that a specific user has entered a pose, or left it.
| pose | [in] The node that raised the event. |
| strPose | [in] The pose that is relevant to the callback. |
| user | [in] The id of the user that entered the pose or left it. |
| pCookie | [in] A user-provided cookie that was given when registering to this event. |
Definition at line 3498 of file XnCppWrapper.h.
| xn::PoseDetectionCapability::PoseDetectionCapability | ( | XnNodeHandle | hNode | ) | [inline] |
| XnStatus xn::PoseDetectionCapability::GetAvailablePoses | ( | XnChar ** | pstrPoses, |
| XnUInt32 & | nPoses | ||
| ) | [inline] |
Get the names of the supported poses.
For full details and usage, see xnGetAvailablePosesDefinition at line 3511 of file XnCppWrapper.h.
| XnUInt32 xn::PoseDetectionCapability::GetNumberOfPoses | ( | ) | [inline] |
Get the number of the supported poses.
For full details and usage, see xnGetNumberOfPosesDefinition at line 3503 of file XnCppWrapper.h.
| static void XN_CALLBACK_TYPE xn::PoseDetectionCapability::PoseDetectionStartCallback | ( | XnNodeHandle | hNode, |
| const XnChar * | strPose, | ||
| XnUserID | user, | ||
| void * | pCookie | ||
| ) | [inline, static, private] |
Definition at line 3575 of file XnCppWrapper.h.
| static void XN_CALLBACK_TYPE xn::PoseDetectionCapability::PoseDetectionStartEndCallback | ( | XnNodeHandle | hNode, |
| const XnChar * | strPose, | ||
| XnUserID | user, | ||
| void * | pCookie | ||
| ) | [inline, static, private] |
Definition at line 3582 of file XnCppWrapper.h.
| XnStatus xn::PoseDetectionCapability::RegisterToPoseCallbacks | ( | PoseDetection | PoseStartCB, |
| PoseDetection | PoseEndCB, | ||
| void * | pCookie, | ||
| XnCallbackHandle & | hCallback | ||
| ) | [inline] |
Register to callbacks for pose events.
For full details and usage, see xnRegisterToPoseCallbacksDefinition at line 3535 of file XnCppWrapper.h.
| XnStatus xn::PoseDetectionCapability::StartPoseDetection | ( | const XnChar * | strPose, |
| XnUserID | user | ||
| ) | [inline] |
Start detection of a specific pose for a specific user.
For full details and usage, see xnStartPoseDetectionDefinition at line 3519 of file XnCppWrapper.h.
| XnStatus xn::PoseDetectionCapability::StopPoseDetection | ( | XnUserID | user | ) | [inline] |
Stop detection of poses for a specific user.
For full details and usage, see xnStopPoseDetectionDefinition at line 3527 of file XnCppWrapper.h.
| void xn::PoseDetectionCapability::UnregisterFromPoseCallbacks | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregister from calibration callbacks.
For full details and usage, see xnUnregisterCalibrationCallbacksDefinition at line 3560 of file XnCppWrapper.h.