#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.
◆ UserPositionCapability() [1/2]
xn::UserPositionCapability::UserPositionCapability |
( |
XnNodeHandle |
hNode = NULL | ) |
|
|
inline |
◆ UserPositionCapability() [2/2]
xn::UserPositionCapability::UserPositionCapability |
( |
const NodeWrapper & |
node | ) |
|
|
inline |
◆ GetSupportedUserPositionsCount()
XnUInt32 xn::UserPositionCapability::GetSupportedUserPositionsCount |
( |
| ) |
const |
|
inline |
◆ GetUserPosition()
◆ RegisterToUserPositionChange()
Registers an event handler for the 'User Position Change' event.
- Parameters
-
[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.
◆ SetUserPosition()
◆ UnregisterFromUserPositionChange()
void xn::UserPositionCapability::UnregisterFromUserPositionChange |
( |
XnCallbackHandle |
hCallback | ) |
|
|
inline |
Unregisters the event handler for the 'User Position Change' event.
- Parameters
-
[in] | hCallback | Handle received from registration. |
For full details and usage of the parameter, see Unregistering from Events .
The documentation for this class was generated from the following file: