35 #include <boost/make_shared.hpp> 49 output.
name_ = pInfo->getName();
50 output.
uri_ = pInfo->getUri();
51 output.
vendor_ = pInfo->getVendor();
74 openni::VideoMode output;
78 output.setPixelFormat(static_cast<openni::PixelFormat>(input.
pixel_format_));
84 const std::vector<OpenNI2VideoMode>
openni2_convert(
const openni::Array<openni::VideoMode>& input)
86 std::vector<OpenNI2VideoMode> output;
88 int size = input.getSize();
92 for (
int i=0; i<size; ++i)
#define THROW_OPENNI_EXCEPTION(format,...)
PixelFormat pixel_format_
std::size_t x_resolution_
std::size_t y_resolution_
const OpenNI2DeviceInfo openni2_convert(const openni::DeviceInfo *pInfo)