| 2287 | } |
| 2288 | |
| 2289 | void xnUpdateDepthMetaData(XnNodeHandle hNode) |
| 2290 | { |
| 2291 | XnDepthMetaData* pMetaData = hNode->pMetaData.Depth; |
| 2292 | xnUpdateMapMetaData(hNode, pMetaData->pMap); |
| 2293 | pMetaData->pMap->PixelFormat = XN_PIXEL_FORMAT_GRAYSCALE_16_BIT; |
| 2294 | pMetaData->pData = xnGetDepthMap(hNode); |
| 2295 | pMetaData->nZRes = xnGetDeviceMaxDepth(hNode) + 1; |
| 2296 | } |
| 2297 | |
| 2298 | void xnUpdateImageMetaData(XnNodeHandle hNode) |
| 2299 | { |
no test coverage detected