#include <XnCppWrapper.h>

Classes | |
| struct | PoseCookie |
Public Types | |
| typedef void(* | PoseDetection )(PoseDetectionCapability &pose, const XnChar *strPose, XnUserID user, void *pCookie) |
Public Member Functions | |
| PoseDetectionCapability (XnNodeHandle hNode) | |
| XnUInt32 | GetNumberOfPoses () const |
| XnStatus | GetAvailablePoses (XnChar **pstrPoses, XnUInt32 &nPoses) const |
| XnStatus | GetAllAvailablePoses (XnChar **pstrPoses, XnUInt32 nNameLength, XnUInt32 &nPoses) const |
| XnStatus | StartPoseDetection (const XnChar *strPose, XnUserID user) |
| XnStatus | StopPoseDetection (XnUserID user) |
| XnStatus | RegisterToPoseCallbacks (PoseDetection PoseStartCB, PoseDetection PoseEndCB, void *pCookie, XnCallbackHandle &hCallback) |
| void | UnregisterFromPoseCallbacks (XnCallbackHandle hCallback) |
Allows access to Pose Detection capability functions. see Pose Detection Capability for additional details.
| typedef void( * 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. |
| xn::PoseDetectionCapability::PoseDetectionCapability | ( | XnNodeHandle | hNode | ) | [inline] |
Ctor
| hNode | [in] Node handle |
| XnStatus xn::PoseDetectionCapability::GetAllAvailablePoses | ( | XnChar ** | pstrPoses, | |
| XnUInt32 | nNameLength, | |||
| XnUInt32 & | nPoses | |||
| ) | const [inline] |
Get the names of the supported poses. For full details and usage, see xnGetAvailablePoses
| XnStatus xn::PoseDetectionCapability::GetAvailablePoses | ( | XnChar ** | pstrPoses, | |
| XnUInt32 & | nPoses | |||
| ) | const [inline] |
Get the names of the supported poses. For full details and usage, see xnGetAvailablePoses
| XnUInt32 xn::PoseDetectionCapability::GetNumberOfPoses | ( | ) | const [inline] |
Get the number of the supported poses. For full details and usage, see xnGetNumberOfPoses
| 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 xnRegisterToPoseCallbacks
| 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 xnStartPoseDetection
Stop detection of poses for a specific user. For full details and usage, see xnStopPoseDetection
| void xn::PoseDetectionCapability::UnregisterFromPoseCallbacks | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregister from calibration callbacks. For full details and usage, see xnUnregisterCalibrationCallbacks
1.6.3