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

Function xnConfigureFrameSync

Source/OpenNI/XnXmlScriptNode.cpp:286–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286XnStatus xnConfigureFrameSync(XnNodeHandle hNode, const TiXmlElement* pOpcode)
287{
288 XnStatus nRetVal = XN_STATUS_OK;
289
290 XnContext* pContext = hNode->pContext;
291 XnNodeHandle hOther = NULL;
292
293 nRetVal = xnGetRefNodeHandleByName(pContext, pOpcode->GetText(), &hOther);
294 XN_IS_STATUS_OK(nRetVal);
295
296 nRetVal = xnFrameSyncWith(hNode, hOther);
297 xnProductionNodeRelease(hOther);
298 XN_IS_STATUS_OK(nRetVal);
299
300 return (XN_STATUS_OK);
301}
302
303XnStatus xnConfigureAlternativeViewPoint(XnNodeHandle hNode, const TiXmlElement* pOpcode)
304{

Callers 1

xnConfigureSetOpcodeFunction · 0.85

Calls 4

xnGetRefNodeHandleByNameFunction · 0.85
xnFrameSyncWithFunction · 0.85
xnProductionNodeReleaseFunction · 0.85
GetTextMethod · 0.80

Tested by

no test coverage detected