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

Method GetImageRes

Samples/NiUserSelection/UserTracker.cpp:410–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408
409
410void UserTracker::GetImageRes(XnUInt16 &xRes, XnUInt16 &yRes)
411{
412 xn::DepthMetaData depthMD;
413 m_DepthGenerator.GetMetaData(depthMD);
414 xRes = (XnUInt16)depthMD.XRes();
415 yRes = (XnUInt16)depthMD.YRes();
416}
417
418const XnDepthPixel* UserTracker::GetDepthData()
419{

Callers 3

DrawDepthMapTextureMethod · 0.80
InitTextureMethod · 0.80
glutDisplayMethod · 0.80

Calls 3

GetMetaDataMethod · 0.45
XResMethod · 0.45
YResMethod · 0.45

Tested by

no test coverage detected