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

Function xnGetSupportedMapOutputModesCount

Source/OpenNI/XnOpenNI.cpp:4258–4264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4256//---------------------------------------------------------------------------
4257
4258XN_C_API XnUInt32 xnGetSupportedMapOutputModesCount(XnNodeHandle hInstance)
4259{
4260 XN_VALIDATE_INTERFACE_TYPE_RET(hInstance, XN_NODE_TYPE_MAP_GENERATOR, 0);
4261 XnMapGeneratorInterfaceContainer* pInterface = (XnMapGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
4262 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
4263 return pInterface->Map.GetSupportedMapOutputModesCount(hModuleNode);
4264}
4265
4266XN_C_API XnStatus xnGetSupportedMapOutputModes(XnNodeHandle hInstance, XnMapOutputMode* aModes, XnUInt32* pnCount)
4267{

Calls 1

Tested by

no test coverage detected