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

Function xnGetData

Source/OpenNI/XnOpenNI.cpp:3599–3606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3597}
3598
3599XN_C_API const void* xnGetData(XnNodeHandle hInstance)
3600{
3601 XN_VALIDATE_PTR(hInstance, NULL);
3602 XN_VALIDATE_INTERFACE_TYPE_RET(hInstance, XN_NODE_TYPE_GENERATOR, NULL);
3603 XnGeneratorInterfaceContainer* pInterface = (XnGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
3604 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
3605 return pInterface->Generator.GetData(hModuleNode);
3606}
3607
3608XN_C_API XnUInt32 xnGetDataSize(XnNodeHandle hInstance)
3609{

Callers 2

GetDataMethod · 0.85

Calls 1

GetDataMethod · 0.45

Tested by

no test coverage detected