#include <XnCppWrapper.h>
Represents a User Generator node
Definition at line 3594 of file XnCppWrapper.h.
typedef struct xn::UserGenerator::UserCookie xn::UserGenerator::UserCookie [private] |
typedef void(XN_CALLBACK_TYPE* xn::UserGenerator::UserHandler)(UserGenerator &generator, XnUserID user, void *pCookie) |
Definition at line 3609 of file XnCppWrapper.h.
xn::UserGenerator::UserGenerator | ( | XnNodeHandle | hNode = NULL | ) | [inline] |
XnStatus xn::UserGenerator::Create | ( | Context & | context, |
Query * | pQuery = NULL , |
||
EnumerationErrors * | pErrors = NULL |
||
) | [inline] |
Creates a user generator.
For full details and usage, see xnCreateUserGeneratorDefinition at line 4629 of file XnCppWrapper.h.
XnStatus xn::UserGenerator::GetCoM | ( | XnUserID | user, |
XnPoint3D & | com | ||
) | const [inline] |
Get the center of mass of a user.
For full details and usage, see xnGetUserCoMDefinition at line 3630 of file XnCppWrapper.h.
XnUInt16 xn::UserGenerator::GetNumberOfUsers | ( | ) | const [inline] |
Get current number of users.
For full details and usage, see xnGetNumberOfUsersDefinition at line 3614 of file XnCppWrapper.h.
Gets an PoseDetectionCapability object for accessing Pose-Detection functionality. It is the application responsibility to check first if XN_CAPABILITY_POSE_DETECTION is supported by calling IsCapabilitySupported().
Definition at line 3693 of file XnCppWrapper.h.
SkeletonCapability xn::UserGenerator::GetSkeletonCap | ( | ) | [inline] |
Gets an SkeletonCapability object for accessing Skeleton functionality. It is the application responsibility to check first if XN_CAPABILITY_SKELETON is supported by calling IsCapabilitySupported().
Definition at line 3683 of file XnCppWrapper.h.
XnStatus xn::UserGenerator::GetUserPixels | ( | XnUserID | user, |
SceneMetaData & | smd | ||
) | [inline] |
Get the pixels that belong to a user.
For full details and usage, see xnGetUserPixelsDefinition at line 3638 of file XnCppWrapper.h.
XnStatus xn::UserGenerator::GetUsers | ( | XnUserID | aUsers[], |
XnUInt16 & | nUsers | ||
) | const [inline] |
Get the current users.
For full details and usage, see xnGetUsersDefinition at line 3622 of file XnCppWrapper.h.
static void XN_CALLBACK_TYPE xn::UserGenerator::LostUserCallback | ( | XnNodeHandle | hNode, |
XnUserID | user, | ||
void * | pCookie | ||
) | [inline, static, private] |
Definition at line 3714 of file XnCppWrapper.h.
static void XN_CALLBACK_TYPE xn::UserGenerator::NewUserCallback | ( | XnNodeHandle | hNode, |
XnUserID | user, | ||
void * | pCookie | ||
) | [inline, static, private] |
Definition at line 3707 of file XnCppWrapper.h.
XnStatus xn::UserGenerator::RegisterUserCallbacks | ( | UserHandler | NewUserCB, |
UserHandler | LostUserCB, | ||
void * | pCookie, | ||
XnCallbackHandle & | hCallback | ||
) | [inline] |
Register to user callbacks.
For full details and usage, see xnRegisterUserCallbacksDefinition at line 3646 of file XnCppWrapper.h.
void xn::UserGenerator::UnregisterUserCallbacks | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregister from user callbacks.
For full details and usage, see xnUnregisterUserCallbacksDefinition at line 3671 of file XnCppWrapper.h.