XnModuleUserPositionCapabilityInterface Struct Reference
#include <XnModuleInterface.h>
List of all members.
Detailed Description
A set of functions supported by depth generators who supports the User Position capability.
Member Data Documentation
Gets the number of user positions supported by this generator.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
Gets the current user position.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
| nIndex | [in] The user position to get. |
| pPosition | [out] Current user position. |
Registers a callback function to user position changes.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
| handler | [in] A pointer to a function that will be called when user position changes. |
| pCookie | [in] A user cookie that will be passed to the callback function. |
| phCallback | [out] Optional. Will be filled with a handle to be passed to UnregisterFromUserPositionChange. |
Sets the current user position.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
| nIndex | [in] The user position to set. |
| pPosition | [in] The user position in the frame. |
Unregisters a callback function which was registered using RegisterToUserPositionChange.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
| hCallback | [in] The handle to the callback returned from RegisterToUserPositionChange. |
The documentation for this struct was generated from the following file: