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

Function xnResolutionGetName

Source/OpenNI/XnOpenNI.cpp:827–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

825}
826
827XN_C_API const XnChar* xnResolutionGetName(XnResolution resolution)
828{
829 for (XnUInt i = 0; i < sizeof(g_resInfo)/sizeof(XnResolutionInfo); ++i)
830 {
831 if (g_resInfo[i].Res == resolution)
832 {
833 return g_resInfo[i].strName;
834 }
835 }
836
837 return "Unknown";
838}
839
840void xnMarkFPSFrame(XnContext* pContext, XnFPSData* pFPS)
841{

Calls

no outgoing calls

Tested by

no test coverage detected