#include <libfreenect.hpp>
Public Member Functions | |
virtual void | DepthCallback (freenect_depth *depth, uint32_t timestamp)=0 |
FreenectDevice (freenect_context *_ctx, int _index) | |
FreenectDeviceState | getState () const |
virtual void | RGBCallback (freenect_pixel *rgb, uint32_t timestamp)=0 |
void | setLed (freenect_led_options _option) |
void | setTiltDegrees (double _angle) |
void | startDepth () |
void | startRGB () |
void | stopDepth () |
void | stopRGB () |
void | updateState () |
~FreenectDevice () | |
Static Private Member Functions | |
static void | freenect_depth_callback (freenect_device *dev, freenect_depth *depth, uint32_t timestamp) |
static void | freenect_rgb_callback (freenect_device *dev, freenect_pixel *rgb, uint32_t timestamp) |
Private Attributes | |
freenect_device * | m_dev |
Definition at line 60 of file libfreenect.hpp.
Freenect::FreenectDevice::FreenectDevice | ( | freenect_context * | _ctx, | |
int | _index | |||
) | [inline] |
Definition at line 62 of file libfreenect.hpp.
Freenect::FreenectDevice::~FreenectDevice | ( | ) | [inline] |
Definition at line 70 of file libfreenect.hpp.
virtual void Freenect::FreenectDevice::DepthCallback | ( | freenect_depth * | depth, | |
uint32_t | timestamp | |||
) | [pure virtual] |
static void Freenect::FreenectDevice::freenect_depth_callback | ( | freenect_device * | dev, | |
freenect_depth * | depth, | |||
uint32_t | timestamp | |||
) | [inline, static, private] |
Definition at line 103 of file libfreenect.hpp.
static void Freenect::FreenectDevice::freenect_rgb_callback | ( | freenect_device * | dev, | |
freenect_pixel * | rgb, | |||
uint32_t | timestamp | |||
) | [inline, static, private] |
Definition at line 107 of file libfreenect.hpp.
FreenectDeviceState Freenect::FreenectDevice::getState | ( | ) | const [inline] |
Definition at line 94 of file libfreenect.hpp.
virtual void Freenect::FreenectDevice::RGBCallback | ( | freenect_pixel * | rgb, | |
uint32_t | timestamp | |||
) | [pure virtual] |
void Freenect::FreenectDevice::setLed | ( | freenect_led_options | _option | ) | [inline] |
Definition at line 88 of file libfreenect.hpp.
void Freenect::FreenectDevice::setTiltDegrees | ( | double | _angle | ) | [inline] |
Definition at line 85 of file libfreenect.hpp.
void Freenect::FreenectDevice::startDepth | ( | ) | [inline] |
Definition at line 79 of file libfreenect.hpp.
void Freenect::FreenectDevice::startRGB | ( | ) | [inline] |
Definition at line 73 of file libfreenect.hpp.
void Freenect::FreenectDevice::stopDepth | ( | ) | [inline] |
Definition at line 82 of file libfreenect.hpp.
void Freenect::FreenectDevice::stopRGB | ( | ) | [inline] |
Definition at line 76 of file libfreenect.hpp.
void Freenect::FreenectDevice::updateState | ( | ) | [inline] |
Definition at line 91 of file libfreenect.hpp.
freenect_device* Freenect::FreenectDevice::m_dev [private] |
Definition at line 102 of file libfreenect.hpp.