#include <XnCppWrapper.h>
List of all members.
Classes |
struct | PoseCookie |
struct | PoseDetectionCookie |
struct | PoseInProgressCookie |
Public Member Functions |
| PoseDetectionCapability (XnNodeHandle hNode) |
| PoseDetectionCapability (const NodeWrapper &node) |
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) |
XnStatus | RegisterToPoseDetected (PoseDetection handler, void *pCookie, XnCallbackHandle &hCallback) |
XnStatus | RegisterToOutOfPose (PoseDetection handler, void *pCookie, XnCallbackHandle &hCallback) |
void | UnregisterFromPoseDetected (XnCallbackHandle hCallback) |
void | UnregisterFromOutOfPose (XnCallbackHandle hCallback) |
XnStatus | RegisterToPoseInProgress (PoseInProgress handler, void *pCookie, XnCallbackHandle &hCallback) |
void | UnregisterFromPoseInProgress (XnCallbackHandle hCallback) |
| Capability (XnNodeHandle hNode) |
| Capability (const NodeWrapper &node) |
| NodeWrapper (XnNodeHandle hNode) |
| NodeWrapper (const NodeWrapper &other) |
NodeWrapper & | operator= (const NodeWrapper &other) |
| ~NodeWrapper () |
| operator XnNodeHandle () const |
XnNodeHandle | GetHandle () const |
XnBool | operator== (const NodeWrapper &other) |
XnBool | operator!= (const NodeWrapper &other) |
XnBool | IsValid () const |
const XnChar * | GetName () const |
XnStatus | AddRef () |
void | Release () |
XnStatus | Ref () |
void | Unref () |
void | SetHandle (XnNodeHandle hNode) |
void | TakeOwnership (XnNodeHandle hNode) |
Detailed Description
Allows access to Pose Detection capability functions. see Pose Detection Capability for additional details.
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. |
Callback for indication of the current status of pose detection for a user
- 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. |
poseError | [in] The current status of the pose detection |
pCookie | [in] A user-provided cookie that was given when registering to this event. |
Constructor & Destructor Documentation
xn::PoseDetectionCapability::PoseDetectionCapability |
( |
XnNodeHandle |
hNode | ) |
|
|
inline |
xn::PoseDetectionCapability::PoseDetectionCapability |
( |
const NodeWrapper & |
node | ) |
|
|
inline |
Member Function Documentation
XnStatus xn::PoseDetectionCapability::GetAllAvailablePoses |
( |
XnChar ** |
pstrPoses, |
|
|
XnUInt32 |
nNameLength, |
|
|
XnUInt32 & |
nPoses |
|
) |
| const |
|
inline |
XnStatus xn::PoseDetectionCapability::GetAvailablePoses |
( |
XnChar ** |
pstrPoses, |
|
|
XnUInt32 & |
nPoses |
|
) |
| const |
|
inline |
XnUInt32 xn::PoseDetectionCapability::GetNumberOfPoses |
( |
| ) |
const |
|
inline |
Register to callback when a use is no longer in pose. For full details and usage, see xnRegisterToOutOfPose
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::UnregisterFromOutOfPose |
( |
XnCallbackHandle |
hCallback | ) |
|
|
inline |
void xn::PoseDetectionCapability::UnregisterFromPoseCallbacks |
( |
XnCallbackHandle |
hCallback | ) |
|
|
inline |
void xn::PoseDetectionCapability::UnregisterFromPoseDetected |
( |
XnCallbackHandle |
hCallback | ) |
|
|
inline |
void xn::PoseDetectionCapability::UnregisterFromPoseInProgress |
( |
XnCallbackHandle |
hCallback | ) |
|
|
inline |
The documentation for this class was generated from the following file: