四、MultiDepthViewer 代码分析
演示如何编写一个程序展示同一个系统下的多个RGBD的深度数据,并用图形方式将其显示在屏幕,可以通过数字按键方式切换不同设备来查看对应设备的深度图
1、声明
/*****************************************************************************
* *
* OpenNI 2.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
* *
* This file is part of OpenNI. *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you may not use this file except in compliance with the License. *
* You may obtain a copy of the License at *
*