#include <XnCppWrapper.h>
Public Member Functions | |
XnUInt32 | GetSupportedUserPositionsCount () const |
XnStatus | GetUserPosition (XnUInt32 nIndex, XnBoundingBox3D &Position) const |
XnStatus | RegisterToUserPositionChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
XnStatus | SetUserPosition (XnUInt32 nIndex, const XnBoundingBox3D &Position) |
void | UnregisterFromUserPositionChange (XnCallbackHandle hCallback) |
UserPositionCapability (XnNodeHandle hNode=NULL) |
Allows access to User Position capability functions. see User Position Capability for additional details.
Definition at line 2352 of file XnCppWrapper.h.
xn::UserPositionCapability::UserPositionCapability | ( | XnNodeHandle | hNode = NULL | ) | [inline] |
XnUInt32 xn::UserPositionCapability::GetSupportedUserPositionsCount | ( | ) | const [inline] |
Gets the number of user positions supported by this generator.
For full details and usage, see xnGetSupportedUserPositionsCountDefinition at line 2365 of file XnCppWrapper.h.
XnStatus xn::UserPositionCapability::GetUserPosition | ( | XnUInt32 | nIndex, |
XnBoundingBox3D & | Position | ||
) | const [inline] |
Gets the current user position.
For full details and usage, see xnGetUserPositionDefinition at line 2381 of file XnCppWrapper.h.
XnStatus xn::UserPositionCapability::RegisterToUserPositionChange | ( | StateChangedHandler | handler, |
void * | pCookie, | ||
XnCallbackHandle & | hCallback | ||
) | [inline] |
Registers a callback function to user position changes.
For full details and usage, see xnRegisterToUserPositionChangeDefinition at line 2389 of file XnCppWrapper.h.
XnStatus xn::UserPositionCapability::SetUserPosition | ( | XnUInt32 | nIndex, |
const XnBoundingBox3D & | Position | ||
) | [inline] |
Sets the current user position.
For full details and usage, see xnSetUserPositionDefinition at line 2373 of file XnCppWrapper.h.
void xn::UserPositionCapability::UnregisterFromUserPositionChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToUserPositionChange.
For full details and usage, see xnUnregisterFromUserPositionChangeDefinition at line 2397 of file XnCppWrapper.h.