| 4814 | } |
| 4815 | |
| 4816 | XN_C_API XnStatus xnSetUserPosition(XnNodeHandle hInstance, XnUInt32 nIndex, const XnBoundingBox3D* pPosition) |
| 4817 | { |
| 4818 | XN_VALIDATE_INTERFACE_TYPE(hInstance, XN_NODE_TYPE_DEPTH); |
| 4819 | XN_VALIDATE_CHANGES_ALLOWED(hInstance); |
| 4820 | XnDepthGeneratorInterfaceContainer* pInterface = (XnDepthGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface; |
| 4821 | XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode; |
| 4822 | XN_VALIDATE_FUNC_PTR(pInterface->UserPosition.SetUserPosition); |
| 4823 | return pInterface->UserPosition.SetUserPosition(hModuleNode, nIndex, pPosition); |
| 4824 | } |
| 4825 | |
| 4826 | XN_C_API XnStatus xnGetUserPosition(XnNodeHandle hInstance, XnUInt32 nIndex, XnBoundingBox3D* pPosition) |
| 4827 | { |
no test coverage detected