![]() |
OpenNI 1.5.4
|
#include <XnCppWrapper.h>
Allows access to User Position capability functions. see User Position Capability for additional details.
Usage: Do not instantiate directly. Instead, use DepthGenerator::GetUserPositionCap() to obtain an instance.
|
inline |
Ctor
[in] | hNode | Node handle |
|
inline |
|
inline |
Gets the number of user positions supported by this generator.
For full details and usage, see xnGetSupportedUserPositionsCount
|
inline |
Gets the current user position.
For full details and usage, see xnGetUserPosition
|
inline |
Registers an event handler for the 'User Position Change' event.
[in] | handler | Callback function to be invoked when the event is raised. |
[in] | pCookie | User's cookie, to be delivered to the callback. |
[out] | hCallback | Handle to the callback to be used for unregistering it. |
For full details and usage of the parameters, see Registering to Events.
|
inline |
Sets the current user position.
For full details and usage, see xnSetUserPosition
|
inline |
Unregisters the event handler for the 'User Position Change' event.
[in] | hCallback | Handle received from registration. |
For full details and usage of the parameter, see Unregistering from Events .