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

Function xnXmlReadUserPosition

Source/OpenNI/XnXmlScriptNode.cpp:129–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129XnStatus xnXmlReadUserPosition(const TiXmlElement* pOpcode, XnInt* pnIndex, XnBoundingBox3D* pUserPosition)
130{
131 XnStatus nRetVal = XN_STATUS_OK;
132
133 nRetVal = xnXmlReadIntAttribute(pOpcode, "index", pnIndex);
134 XN_IS_STATUS_OK(nRetVal);
135
136 nRetVal = xnXmlReadBoundingBox3D(pOpcode, pUserPosition);
137 XN_IS_STATUS_OK(nRetVal);
138
139 return (XN_STATUS_OK);
140}
141
142XnStatus xnConfigureMirror(XnNodeHandle hNode, const TiXmlElement* pOpcode)
143{

Callers 1

xnConfigureUserPositionFunction · 0.85

Calls 2

xnXmlReadIntAttributeFunction · 0.85
xnXmlReadBoundingBox3DFunction · 0.85

Tested by

no test coverage detected