Public Member Functions

xn::UserPositionCapability Class Reference
[C++ Reference]

#include <XnCppWrapper.h>

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

List of all members.

Public Member Functions

 UserPositionCapability (XnNodeHandle hNode=NULL)
XnUInt32 GetSupportedUserPositionsCount () const
XnStatus SetUserPosition (XnUInt32 nIndex, const XnBoundingBox3D &Position)
XnStatus GetUserPosition (XnUInt32 nIndex, XnBoundingBox3D &Position) const
XnStatus RegisterToUserPositionChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)
void UnregisterFromUserPositionChange (XnCallbackHandle hCallback)

Detailed Description

Allows access to User Position capability functions. see User Position Capability for additional details.


Constructor & Destructor Documentation

xn::UserPositionCapability::UserPositionCapability ( XnNodeHandle  hNode = NULL  )  [inline]

Ctor

Parameters:
hNode [in] Node handle

Member Function Documentation

XnUInt32 xn::UserPositionCapability::GetSupportedUserPositionsCount (  )  const [inline]

Gets the number of user positions supported by this generator.

For full details and usage, see xnGetSupportedUserPositionsCount

XnStatus xn::UserPositionCapability::GetUserPosition ( XnUInt32  nIndex,
XnBoundingBox3D Position 
) const [inline]

Gets the current user position.

For full details and usage, see xnGetUserPosition

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 xnRegisterToUserPositionChange

XnStatus xn::UserPositionCapability::SetUserPosition ( XnUInt32  nIndex,
const XnBoundingBox3D Position 
) [inline]

Sets the current user position.

For full details and usage, see xnSetUserPosition

void xn::UserPositionCapability::UnregisterFromUserPositionChange ( XnCallbackHandle  hCallback  )  [inline]

Unregisters a callback function which was registered using xnRegisterToUserPositionChange.

For full details and usage, see xnUnregisterFromUserPositionChange


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