Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
fovis_example::DataCapture Class Reference

#include <data_capture.hpp>

List of all members.

Public Member Functions

bool captureOne ()
bool captureOne ()
 DataCapture ()
 DataCapture ()
fovis::DepthImagegetDepthImage ()
fovis::DepthImagegetDepthImage ()
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::DepthImagedepth_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

Detailed Description

Definition at line 11 of file fv-example-freenect/data_capture.hpp.


Constructor & Destructor Documentation

Definition at line 8 of file fv-example-freenect/data_capture.cpp.

Definition at line 31 of file fv-example-freenect/data_capture.cpp.


Member Function Documentation

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.

Definition at line 25 of file fv-example-freenect/data_capture.hpp.

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.

Definition at line 29 of file fv-example-freenect/data_capture.hpp.

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.


Member Data Documentation

xn::Context fovis_example::DataCapture::context [private]

Definition at line 39 of file fv-example-openni/data_capture.hpp.

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.

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.

Definition at line 47 of file fv-example-freenect/data_capture.hpp.

Definition at line 62 of file fv-example-freenect/data_capture.hpp.

Definition at line 58 of file fv-example-freenect/data_capture.hpp.

Definition at line 57 of file fv-example-freenect/data_capture.hpp.

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.

Definition at line 52 of file fv-example-freenect/data_capture.hpp.


The documentation for this class was generated from the following files:


libfovis
Author(s): Albert Huang, Maurice Fallon
autogenerated on Thu Jun 6 2019 20:16:12