openni_cam.h
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; //rgb image [3 x width x height]
00012         dynamic::num_array<unsigned short int,2> depth;
00013         //internal calibration
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
 All Classes Namespaces Files Functions Variables Typedefs Defines


openni_cam
Author(s): Alexander Shekhovtsov
autogenerated on Sun Dec 1 2013 17:19:20