Go to the documentation of this file.00001 #ifndef openni_cam_h
00002 #define openni_cam_h
00003
00004 #include "dynamic/num_array.h"
00005 #include "geom/nmmatrix.h"
00006
00007 namespace openni_cam{
00008
00009 class openni_cam{
00010 public:
00011 dynamic::num_array<unsigned char,3> rgb;
00012 dynamic::num_array<unsigned short int,2> depth;
00013
00014 geom::matrix3 K;
00015 public:
00016 void init();
00017 bool get_image();
00018 int rgb_width()const{return rgb.size()[1];};
00019 int rgb_height()const{return rgb.size()[2];};
00020 };
00021
00022 };
00023
00024 #endif