invisible
annotate 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 |
rev | line source |
---|---|
eleni@1 | 1 #ifndef FRAME_H_ |
eleni@1 | 2 #define FRAME_H_ |
eleni@1 | 3 |
eleni@1 | 4 #include <libfreenect.h> |
eleni@2 | 5 #include <cv.h> |
eleni@1 | 6 |
eleni@2 | 7 struct Frame { |
eleni@2 | 8 cv::Mat depth_buf; |
eleni@2 | 9 cv::Mat video_buf; |
eleni@1 | 10 |
eleni@1 | 11 Frame(); |
eleni@4 | 12 ~Frame(); //TODO delete Mat |
eleni@4 | 13 |
eleni@2 | 14 void process(); |
eleni@1 | 15 }; |
eleni@1 | 16 |
eleni@2 | 17 void video_cb(freenect_device *kin_dev, void *video, uint32_t time); |
eleni@1 | 18 void depth_cb(freenect_device *kin_dev, void *depth, uint32_t time); |
eleni@1 | 19 |
eleni@1 | 20 #endif // FRAME_H_ |