Classes | Public Types | Public Member Functions | Private Types | Static Private Member Functions
xn::PoseDetectionCapability Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::PoseDetectionCapability:
Inheritance graph
[legend]

List of all members.

Classes

struct  PoseCookie

Public Types

typedef void(XN_CALLBACK_TYPEPoseDetection )(PoseDetectionCapability &pose, const XnChar *strPose, XnUserID user, void *pCookie)

Public Member Functions

XnStatus GetAvailablePoses (XnChar **pstrPoses, XnUInt32 &nPoses)
XnUInt32 GetNumberOfPoses ()
 PoseDetectionCapability (XnNodeHandle hNode)
XnStatus RegisterToPoseCallbacks (PoseDetection PoseStartCB, PoseDetection PoseEndCB, void *pCookie, XnCallbackHandle &hCallback)
XnStatus StartPoseDetection (const XnChar *strPose, XnUserID user)
XnStatus StopPoseDetection (XnUserID user)
void UnregisterFromPoseCallbacks (XnCallbackHandle hCallback)

Private Types

typedef struct
xn::PoseDetectionCapability::PoseCookie 
PoseCookie

Static Private Member Functions

static void XN_CALLBACK_TYPE PoseDetectionStartCallback (XnNodeHandle hNode, const XnChar *strPose, XnUserID user, void *pCookie)
static void XN_CALLBACK_TYPE PoseDetectionStartEndCallback (XnNodeHandle hNode, const XnChar *strPose, XnUserID user, void *pCookie)

Detailed Description

Allows access to Pose Detection capability functions. see Pose Detection Capability for additional details.

Definition at line 3480 of file XnCppWrapper.h.


Member Typedef Documentation

Callback for indication that a specific user has entered a pose, or left it.

Parameters:
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.


Constructor & Destructor Documentation

Ctor

Parameters:
hNode[in] Node handle

Definition at line 3488 of file XnCppWrapper.h.


Member Function Documentation

XnStatus xn::PoseDetectionCapability::GetAvailablePoses ( XnChar **  pstrPoses,
XnUInt32 nPoses 
) [inline]

Get the names of the supported poses.

For full details and usage, see xnGetAvailablePoses

Definition at line 3511 of file XnCppWrapper.h.

Get the number of the supported poses.

For full details and usage, see xnGetNumberOfPoses

Definition 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 xnRegisterToPoseCallbacks

Definition 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 xnStartPoseDetection

Definition at line 3519 of file XnCppWrapper.h.

Stop detection of poses for a specific user.

For full details and usage, see xnStopPoseDetection

Definition at line 3527 of file XnCppWrapper.h.

Unregister from calibration callbacks.

For full details and usage, see xnUnregisterCalibrationCallbacks

Definition at line 3560 of file XnCppWrapper.h.


The documentation for this class was generated from the following file:


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52