#include <data_capture.hpp>
Public Member Functions | |
bool | captureOne () |
bool | captureOne () |
DataCapture () | |
DataCapture () | |
fovis::DepthImage * | getDepthImage () |
fovis::DepthImage * | getDepthImage () |
const uint8_t * | getGrayImage () |
const uint8_t * | getGrayImage () |
const fovis::CameraIntrinsicsParameters & | getRgbParameters () const |
const fovis::CameraIntrinsicsParameters & | getRgbParameters () const |
bool | initialize () |
bool | initialize () |
bool | startDataCapture () |
bool | startDataCapture () |
bool | stopDataCapture () |
bool | stopDataCapture () |
~DataCapture () | |
~DataCapture () | |
Private Member Functions | |
void | DepthCallback (void *data, uint32_t timestamp) |
void | ImageCallback (void *data, uint32_t timestamp) |
Static Private Member Functions | |
static void | depth_cb (freenect_device *dev, void *data, uint32_t timestamp) |
static void | image_cb (freenect_device *dev, void *data, uint32_t timestamp) |
Private Attributes | |
xn::Context | context |
float * | depth_data |
xn::DepthGenerator | depth_gen |
fovis::DepthImage * | depth_image |
xn::DepthMetaData | depth_md |
int | device_number |
xn::EnumerationErrors | errors |
freenect_context * | f_ctx |
freenect_device * | f_dev |
int | freenect_angle |
uint8_t * | gray_buf |
bool | have_depth |
bool | have_image |
int | height |
xn::ImageGenerator | image_gen |
xn::ImageMetaData | image_md |
fovis::CameraIntrinsicsParameters | rgb_params |
int | width |
Definition at line 11 of file fv-example-freenect/data_capture.hpp.
Definition at line 8 of file fv-example-freenect/data_capture.cpp.
Definition at line 31 of file fv-example-freenect/data_capture.cpp.
Definition at line 100 of file fv-example-freenect/data_capture.cpp.
void fovis_example::DataCapture::depth_cb | ( | freenect_device * | dev, |
void * | data, | ||
uint32_t | timestamp | ||
) | [static, private] |
Definition at line 113 of file fv-example-freenect/data_capture.cpp.
void fovis_example::DataCapture::DepthCallback | ( | void * | data, |
uint32_t | timestamp | ||
) | [private] |
Definition at line 127 of file fv-example-freenect/data_capture.cpp.
fovis::DepthImage* fovis_example::DataCapture::getDepthImage | ( | ) | [inline] |
Definition at line 25 of file fv-example-freenect/data_capture.hpp.
fovis::DepthImage* fovis_example::DataCapture::getDepthImage | ( | ) | [inline] |
Definition at line 26 of file fv-example-openni/data_capture.hpp.
const uint8_t* fovis_example::DataCapture::getGrayImage | ( | ) | [inline] |
Definition at line 33 of file fv-example-freenect/data_capture.hpp.
const uint8_t* fovis_example::DataCapture::getGrayImage | ( | ) | [inline] |
Definition at line 34 of file fv-example-openni/data_capture.hpp.
const fovis::CameraIntrinsicsParameters& fovis_example::DataCapture::getRgbParameters | ( | ) | const [inline] |
Definition at line 29 of file fv-example-freenect/data_capture.hpp.
const fovis::CameraIntrinsicsParameters& fovis_example::DataCapture::getRgbParameters | ( | ) | const [inline] |
Definition at line 30 of file fv-example-openni/data_capture.hpp.
void fovis_example::DataCapture::image_cb | ( | freenect_device * | dev, |
void * | data, | ||
uint32_t | timestamp | ||
) | [static, private] |
Definition at line 120 of file fv-example-freenect/data_capture.cpp.
void fovis_example::DataCapture::ImageCallback | ( | void * | data, |
uint32_t | timestamp | ||
) | [private] |
Definition at line 145 of file fv-example-freenect/data_capture.cpp.
Definition at line 38 of file fv-example-freenect/data_capture.cpp.
Definition at line 71 of file fv-example-freenect/data_capture.cpp.
Definition at line 88 of file fv-example-freenect/data_capture.cpp.
xn::Context fovis_example::DataCapture::context [private] |
Definition at line 39 of file fv-example-openni/data_capture.hpp.
float * fovis_example::DataCapture::depth_data [private] |
Definition at line 60 of file fv-example-freenect/data_capture.hpp.
xn::DepthGenerator fovis_example::DataCapture::depth_gen [private] |
Definition at line 42 of file fv-example-openni/data_capture.hpp.
Definition at line 50 of file fv-example-freenect/data_capture.hpp.
xn::DepthMetaData fovis_example::DataCapture::depth_md [private] |
Definition at line 43 of file fv-example-openni/data_capture.hpp.
int fovis_example::DataCapture::device_number [private] |
Definition at line 48 of file fv-example-freenect/data_capture.hpp.
xn::EnumerationErrors fovis_example::DataCapture::errors [private] |
Definition at line 40 of file fv-example-openni/data_capture.hpp.
freenect_context* fovis_example::DataCapture::f_ctx [private] |
Definition at line 44 of file fv-example-freenect/data_capture.hpp.
freenect_device* fovis_example::DataCapture::f_dev [private] |
Definition at line 45 of file fv-example-freenect/data_capture.hpp.
int fovis_example::DataCapture::freenect_angle [private] |
Definition at line 47 of file fv-example-freenect/data_capture.hpp.
uint8_t * fovis_example::DataCapture::gray_buf [private] |
Definition at line 62 of file fv-example-freenect/data_capture.hpp.
bool fovis_example::DataCapture::have_depth [private] |
Definition at line 58 of file fv-example-freenect/data_capture.hpp.
bool fovis_example::DataCapture::have_image [private] |
Definition at line 57 of file fv-example-freenect/data_capture.hpp.
int fovis_example::DataCapture::height [private] |
Definition at line 53 of file fv-example-freenect/data_capture.hpp.
xn::ImageGenerator fovis_example::DataCapture::image_gen [private] |
Definition at line 44 of file fv-example-openni/data_capture.hpp.
xn::ImageMetaData fovis_example::DataCapture::image_md [private] |
Definition at line 45 of file fv-example-openni/data_capture.hpp.
Definition at line 55 of file fv-example-freenect/data_capture.hpp.
int fovis_example::DataCapture::width [private] |
Definition at line 52 of file fv-example-freenect/data_capture.hpp.