#include <XnCppWrapper.h>

Allows access to Skeleton capability functions. see Skeleton Capability for additional details.
Definition at line 3181 of file XnCppWrapper.h.
| typedef void(XN_CALLBACK_TYPE* xn::SkeletonCapability::CalibrationEnd)(SkeletonCapability &skeleton, XnUserID user, XnBool bSuccess, void *pCookie) |
Callback for indication that a specific user's skeleton has now completed the calibration process
| hNode | [in] The node that raised the event. |
| user | [in] The id of the user for which calibration was attempted. |
| bSuccess | [in] An indication of whether or not the calibration attempt succeeded. |
| pCookie | [in] A user-provided cookie that was given when registering to this event. |
Definition at line 3415 of file XnCppWrapper.h.
| typedef void(XN_CALLBACK_TYPE* xn::SkeletonCapability::CalibrationStart)(SkeletonCapability &skeleton, XnUserID user, void *pCookie) |
Callback for indication that a specific user's skeleton is now starting the calibration process
| skeleton | [in] The node that raised the event. |
| user | [in] The id of the user that's being calibrated. |
| pCookie | [in] A user-provided cookie that was given when registering to this event. |
Definition at line 3406 of file XnCppWrapper.h.
typedef struct xn::SkeletonCapability::SkeletonCookie xn::SkeletonCapability::SkeletonCookie [private] |
| xn::SkeletonCapability::SkeletonCapability | ( | XnNodeHandle | hNode | ) | [inline] |
| XnStatus xn::SkeletonCapability::AbortCalibration | ( | XnUserID | user | ) | [inline] |
stop calibration
For full details and usage, see xnAbortSkeletonCalibrationDefinition at line 3314 of file XnCppWrapper.h.
| static void XN_CALLBACK_TYPE xn::SkeletonCapability::CalibrationEndCallback | ( | XnNodeHandle | hNode, |
| XnUserID | user, | ||
| XnBool | bSuccess, | ||
| void * | pCookie | ||
| ) | [inline, static, private] |
Definition at line 3468 of file XnCppWrapper.h.
| static void XN_CALLBACK_TYPE xn::SkeletonCapability::CalibrationStartCallback | ( | XnNodeHandle | hNode, |
| XnUserID | user, | ||
| void * | pCookie | ||
| ) | [inline, static, private] |
Definition at line 3461 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::ClearCalibrationData | ( | XnUInt32 | nSlot | ) | [inline] |
Clear the requested slot from any saved calibration data.
For full details and usage, see xnClearSkeletonCalibrationDataDefinition at line 3338 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::EnumerateActiveJoints | ( | XnSkeletonJoint * | pJoints, |
| XnUInt16 & | nJoints | ||
| ) | [inline] |
Get all active joints.
For full details and usage, see xnEnumerateActiveJointsDefinition at line 3250 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::GetCalibrationPose | ( | XnChar * | strPose | ) | [inline] |
Get the pose that is required for calibration.
For full details and usage, see xnGetSkeletonCalibrationPoseDefinition at line 3386 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::GetSkeletonJoint | ( | XnUserID | user, |
| XnSkeletonJoint | eJoint, | ||
| XnSkeletonJointTransformation & | Joint | ||
| ) | const [inline] |
Get a specific joint's full information.
For full details and usage, see xnGetSkeletonJointDefinition at line 3258 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::GetSkeletonJointOrientation | ( | XnUserID | user, |
| XnSkeletonJoint | eJoint, | ||
| XnSkeletonJointOrientation & | Joint | ||
| ) | const [inline] |
Get a specific joint's orientation.
For full details and usage, see xnGetSkeletonJointOrientationDefinition at line 3274 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::GetSkeletonJointPosition | ( | XnUserID | user, |
| XnSkeletonJoint | eJoint, | ||
| XnSkeletonJointPosition & | Joint | ||
| ) | const [inline] |
Get a specific joint's position.
For full details and usage, see xnGetSkeletonJointPositionDefinition at line 3266 of file XnCppWrapper.h.
| XnBool xn::SkeletonCapability::IsCalibrated | ( | XnUserID | user | ) | [inline] |
Check if skeleton is being calibrated.
For full details and usage, see xnIsSkeletonCalibratedDefinition at line 3290 of file XnCppWrapper.h.
| XnBool xn::SkeletonCapability::IsCalibrating | ( | XnUserID | user | ) | [inline] |
Check if skeleton is being calibrated.
For full details and usage, see xnIsSkeletonCalibratingDefinition at line 3298 of file XnCppWrapper.h.
| XnBool xn::SkeletonCapability::IsCalibrationData | ( | XnUInt32 | nSlot | ) | [inline] |
Check if a specific slot already holds calibration data.
For full details and usage, see xnIsSkeletonCalibrationDataDefinition at line 3346 of file XnCppWrapper.h.
| XnBool xn::SkeletonCapability::IsJointActive | ( | XnSkeletonJoint | eJoint, |
| XnBool | bState | ||
| ) | [inline] |
Check if joint is currently active.
For full details and usage, see xnIsJointActiveDefinition at line 3226 of file XnCppWrapper.h.
| XnBool xn::SkeletonCapability::IsJointAvailable | ( | XnSkeletonJoint | eJoint | ) | const [inline] |
Check if generator supports a specific joint.
For full details and usage, see xnIsJointAvailableDefinition at line 3194 of file XnCppWrapper.h.
| XnBool xn::SkeletonCapability::IsProfileAvailable | ( | XnSkeletonProfile | eProfile | ) | const [inline] |
Check if generator supports a specific profile.
For full details and usage, see xnIsProfileAvailableDefinition at line 3202 of file XnCppWrapper.h.
| XnBool xn::SkeletonCapability::IsTracking | ( | XnUserID | user | ) | [inline] |
Check if skeleton is being tracked.
For full details and usage, see xnIsSkeletonTrackingDefinition at line 3282 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::LoadCalibrationData | ( | XnUserID | user, |
| XnUInt32 | nSlot | ||
| ) | [inline] |
Load previously saved calibration data.
For full details and usage, see xnLoadSkeletonCalibrationDataDefinition at line 3330 of file XnCppWrapper.h.
| XnBool xn::SkeletonCapability::NeedPoseForCalibration | ( | ) | [inline] |
Check if a specific pose is required for calibration.
For full details and usage, see xnNeedPoseForSkeletonCalibrationDefinition at line 3378 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::RegisterCalibrationCallbacks | ( | CalibrationStart | CalibrationStartCB, |
| CalibrationEnd | CalibrationEndCB, | ||
| void * | pCookie, | ||
| XnCallbackHandle & | hCallback | ||
| ) | [inline] |
Register to calibration callbacks.
For full details and usage, see xnRegisterCalibrationCallbacksDefinition at line 3420 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::RegisterToJointConfigurationChange | ( | StateChangedHandler | handler, |
| void * | pCookie, | ||
| XnCallbackHandle & | hCallback | ||
| ) | [inline] |
Register to joint configuration changes - when joints are activated and deactivated.
For full details and usage, see xnRegisterToJointConfigurationChangeDefinition at line 3234 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::RequestCalibration | ( | XnUserID | user, |
| XnBool | bForce | ||
| ) | [inline] |
Request calibration when possible.
For full details and usage, see xnRequestSkeletonCalibrationDefinition at line 3306 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::Reset | ( | XnUserID | user | ) | [inline] |
Reset the skeleton - discard calibration.
For full details and usage, see xnResetSkeletonDefinition at line 3370 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::SaveCalibrationData | ( | XnUserID | user, |
| XnUInt32 | nSlot | ||
| ) | [inline] |
Save the calibration data.
For full details and usage, see xnSaveSkeletonCalibrationDataDefinition at line 3322 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::SetJointActive | ( | XnSkeletonJoint | eJoint, |
| XnBool | bState | ||
| ) | [inline] |
Change the state of a specific joint, to be active or inactive.
For full details and usage, see xnSetJointActiveDefinition at line 3218 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::SetSkeletonProfile | ( | XnSkeletonProfile | eProfile | ) | [inline] |
Set the profile. this will set some joints to be active, and others to be inactive.
For full details and usage, see xnSetSkeletonProfileDefinition at line 3210 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::SetSmoothing | ( | XnFloat | fSmoothingFactor | ) | [inline] |
Set the skeleton's smoothing factor.
For full details and usage, see xnSetSkeletonSmoothingDefinition at line 3394 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::StartTracking | ( | XnUserID | user | ) | [inline] |
Start tracking a skeleton.
For full details and usage, see xnStartSkeletonTrackingDefinition at line 3354 of file XnCppWrapper.h.
| XnStatus xn::SkeletonCapability::StopTracking | ( | XnUserID | user | ) | [inline] |
Stop tracking a skeleton.
For full details and usage, see xnStopSkeletonTrackingDefinition at line 3362 of file XnCppWrapper.h.
| void xn::SkeletonCapability::UnregisterCalibrationCallbacks | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregister from calibration callbacks.
For full details and usage, see xnUnregisterCalibrationCallbacksDefinition at line 3445 of file XnCppWrapper.h.
| void xn::SkeletonCapability::UnregisterFromJointConfigurationChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregister from joint configuration changes.
For full details and usage, see xnUnregisterFromJointConfigurationChangeDefinition at line 3242 of file XnCppWrapper.h.