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

Method GetNumFrames

Source/Modules/nimRecorder/PlayerNode.cpp:569–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569XnUInt32 PlayerNode::GetNumFrames(const XnChar* strNodeName, XnUInt32& nFrames)
570{
571 PlayerNodeInfo* pPlayerNodeInfo = GetPlayerNodeInfoByName(strNodeName);
572 XN_VALIDATE_PTR(pPlayerNodeInfo, XN_STATUS_BAD_NODE_NAME);
573 if (!pPlayerNodeInfo->bValid)
574 {
575 XN_ASSERT(FALSE);
576 return XN_STATUS_BAD_NODE_NAME;
577 }
578
579 nFrames = pPlayerNodeInfo->nFrames;
580 return XN_STATUS_OK;
581}
582
583const XnChar* PlayerNode::GetSupportedFormat()
584{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected