invisible

view src/frame.h @ 4:1ff5a1a50b41

foo, TODO: fix conversions
author Eleni Maria Stea <eleni@mutantstargoat.com>
date Wed, 16 Oct 2013 15:41:08 +0300
parents b0b90ef993a0
children 700127288dc5
line source
1 #ifndef FRAME_H_
2 #define FRAME_H_
4 #include <libfreenect.h>
5 #include <cv.h>
7 struct Frame {
8 cv::Mat depth_buf;
9 cv::Mat video_buf;
11 Frame();
12 ~Frame(); //TODO delete Mat
14 void process();
15 };
17 void video_cb(freenect_device *kin_dev, void *video, uint32_t time);
18 void depth_cb(freenect_device *kin_dev, void *depth, uint32_t time);
20 #endif // FRAME_H_