MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / xnConfigureUserPosition

Function xnConfigureUserPosition

Source/OpenNI/XnXmlScriptNode.cpp:212–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212XnStatus xnConfigureUserPosition(XnNodeHandle hNode, const TiXmlElement* pOpcode)
213{
214 XnStatus nRetVal = XN_STATUS_OK;
215
216 XnInt nIndex;
217 XnBoundingBox3D UserPosition;
218 nRetVal = xnXmlReadUserPosition(pOpcode, &nIndex, &UserPosition);
219 XN_IS_STATUS_OK(nRetVal);
220
221 nRetVal = xnSetUserPosition(hNode, nIndex, &UserPosition);
222 XN_IS_STATUS_OK(nRetVal);
223
224 return (XN_STATUS_OK);
225}
226
227XnStatus xnConfigureProperty(XnNodeHandle hNode, const TiXmlElement* pOpcode)
228{

Callers 1

xnConfigureSetOpcodeFunction · 0.85

Calls 2

xnXmlReadUserPositionFunction · 0.85
xnSetUserPositionFunction · 0.85

Tested by

no test coverage detected