| 4824 | } |
| 4825 | |
| 4826 | XN_C_API XnStatus xnGetUserPosition(XnNodeHandle hInstance, XnUInt32 nIndex, XnBoundingBox3D* pPosition) |
| 4827 | { |
| 4828 | XN_VALIDATE_INTERFACE_TYPE(hInstance, XN_NODE_TYPE_DEPTH); |
| 4829 | XnDepthGeneratorInterfaceContainer* pInterface = (XnDepthGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface; |
| 4830 | XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode; |
| 4831 | XN_VALIDATE_FUNC_PTR(pInterface->UserPosition.GetUserPosition); |
| 4832 | return pInterface->UserPosition.GetUserPosition(hModuleNode, nIndex, pPosition); |
| 4833 | } |
| 4834 | |
| 4835 | XN_C_API XnStatus xnRegisterToUserPositionChange(XnNodeHandle hInstance, XnStateChangedHandler handler, void* pCookie, XnCallbackHandle* phCallback) |
| 4836 | { |
no test coverage detected