#include <freenect_device.hpp>
|
bool | findCompatibleDepthMode (const OutputMode &mode, OutputMode &compatible_mode) const |
|
bool | findCompatibleImageMode (const OutputMode &mode, OutputMode &compatible_mode) const |
|
void | flushDeviceStreams () |
|
| FreenectDevice (freenect_context *driver, std::string serial) |
|
unsigned | getAddress () const |
|
float | getBaseline () const |
|
unsigned | getBus () const |
|
OutputMode | getDefaultDepthMode () const |
|
OutputMode | getDefaultImageMode () const |
|
OutputMode | getDepthOutputMode () |
|
OutputMode | getImageOutputMode () |
|
const char * | getProductName () const |
|
const char * | getSerialNumber () const |
|
bool | hasDepthStream () const |
|
bool | hasImageStream () const |
|
bool | hasIRStream () const |
|
bool | isDepthRegistered () |
|
bool | isDepthRegistrationSupported () const |
|
bool | isDepthStreamRunning () |
|
bool | isImageStreamRunning () |
|
bool | isIRStreamRunning () |
|
bool | isSynchronizationSupported () const |
|
bool | isSynchronized () const |
|
void | openDevice (freenect_context *driver, std::string serial) |
|
void | publishersAreReady () |
|
template<typename T > |
void | registerDepthCallback (void(T::*callback)(const ImageBuffer &depth_image, void *cookie), T &instance, void *cookie=NULL) |
|
template<typename T > |
void | registerImageCallback (void(T::*callback)(const ImageBuffer &image, void *cookie), T &instance, void *cookie=NULL) |
|
template<typename T > |
void | registerIRCallback (void(T::*callback)(const ImageBuffer &ir_image, void *cookie), T &instance, void *cookie=NULL) |
|
void | setDepthOutputMode (OutputMode mode) |
|
void | setDepthRegistration (bool enable) |
|
void | setImageOutputMode (OutputMode mode) |
|
bool | setSynchronization (bool on_off) const |
|
void | shutdown () |
|
void | startDepthStream () |
|
void | startImageStream () |
|
void | startIRStream () |
|
void | stopDepthStream () |
|
void | stopImageStream () |
|
void | stopIRStream () |
|
| ~FreenectDevice () |
|
Definition at line 30 of file freenect_device.hpp.
xiaoqiang_freenect_camera::FreenectDevice::FreenectDevice |
( |
freenect_context * |
driver, |
|
|
std::string |
serial |
|
) |
| |
|
inline |
xiaoqiang_freenect_camera::FreenectDevice::~FreenectDevice |
( |
| ) |
|
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::_isImageModeEnabled |
( |
| ) |
|
|
inlineprivate |
void xiaoqiang_freenect_camera::FreenectDevice::depthCallback |
( |
void * |
depth | ) |
|
|
inlineprivate |
void xiaoqiang_freenect_camera::FreenectDevice::executeChanges |
( |
| ) |
|
|
inlineprivate |
bool xiaoqiang_freenect_camera::FreenectDevice::findCompatibleDepthMode |
( |
const OutputMode & |
mode, |
|
|
OutputMode & |
compatible_mode |
|
) |
| const |
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::findCompatibleImageMode |
( |
const OutputMode & |
mode, |
|
|
OutputMode & |
compatible_mode |
|
) |
| const |
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::flushDeviceStreams |
( |
| ) |
|
|
inline |
unsigned xiaoqiang_freenect_camera::FreenectDevice::getAddress |
( |
| ) |
const |
|
inline |
float xiaoqiang_freenect_camera::FreenectDevice::getBaseline |
( |
| ) |
const |
|
inline |
unsigned xiaoqiang_freenect_camera::FreenectDevice::getBus |
( |
| ) |
const |
|
inline |
OutputMode xiaoqiang_freenect_camera::FreenectDevice::getDefaultDepthMode |
( |
| ) |
const |
|
inline |
OutputMode xiaoqiang_freenect_camera::FreenectDevice::getDefaultImageMode |
( |
| ) |
const |
|
inline |
OutputMode xiaoqiang_freenect_camera::FreenectDevice::getDepthOutputMode |
( |
| ) |
|
|
inline |
OutputMode xiaoqiang_freenect_camera::FreenectDevice::getImageOutputMode |
( |
| ) |
|
|
inline |
const char* xiaoqiang_freenect_camera::FreenectDevice::getProductName |
( |
| ) |
const |
|
inline |
const char* xiaoqiang_freenect_camera::FreenectDevice::getSerialNumber |
( |
| ) |
const |
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::hasDepthStream |
( |
| ) |
const |
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::hasImageStream |
( |
| ) |
const |
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::hasIRStream |
( |
| ) |
const |
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::isDepthRegistered |
( |
| ) |
|
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::isDepthRegistrationSupported |
( |
| ) |
const |
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::isDepthStreamRunning |
( |
| ) |
|
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::isImageStreamRunning |
( |
| ) |
|
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::isIRStreamRunning |
( |
| ) |
|
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::isSynchronizationSupported |
( |
| ) |
const |
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::isSynchronized |
( |
| ) |
const |
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::openDevice |
( |
freenect_context * |
driver, |
|
|
std::string |
serial |
|
) |
| |
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::publishersAreReady |
( |
| ) |
|
|
inline |
template<typename T >
void xiaoqiang_freenect_camera::FreenectDevice::registerDepthCallback |
( |
void(T::*)(const ImageBuffer &depth_image, void *cookie) |
callback, |
|
|
T & |
instance, |
|
|
void * |
cookie = NULL |
|
) |
| |
|
inline |
template<typename T >
void xiaoqiang_freenect_camera::FreenectDevice::registerImageCallback |
( |
void(T::*)(const ImageBuffer &image, void *cookie) |
callback, |
|
|
T & |
instance, |
|
|
void * |
cookie = NULL |
|
) |
| |
|
inline |
template<typename T >
void xiaoqiang_freenect_camera::FreenectDevice::registerIRCallback |
( |
void(T::*)(const ImageBuffer &ir_image, void *cookie) |
callback, |
|
|
T & |
instance, |
|
|
void * |
cookie = NULL |
|
) |
| |
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::setDepthOutputMode |
( |
OutputMode |
mode | ) |
|
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::setDepthRegistration |
( |
bool |
enable | ) |
|
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::setImageOutputMode |
( |
OutputMode |
mode | ) |
|
|
inline |
bool xiaoqiang_freenect_camera::FreenectDevice::setSynchronization |
( |
bool |
on_off | ) |
const |
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::shutdown |
( |
| ) |
|
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::startDepthStream |
( |
| ) |
|
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::startImageStream |
( |
| ) |
|
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::startIRStream |
( |
| ) |
|
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::stopDepthStream |
( |
| ) |
|
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::stopImageStream |
( |
| ) |
|
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::stopIRStream |
( |
| ) |
|
|
inline |
void xiaoqiang_freenect_camera::FreenectDevice::videoCallback |
( |
void * |
video | ) |
|
|
inlineprivate |
ImageBuffer xiaoqiang_freenect_camera::FreenectDevice::depth_buffer_ |
|
private |
boost::function<void(const ImageBuffer&)> xiaoqiang_freenect_camera::FreenectDevice::depth_callback_ |
|
private |
bool xiaoqiang_freenect_camera::FreenectDevice::device_flush_enabled_ |
|
private |
boost::posix_time::ptime xiaoqiang_freenect_camera::FreenectDevice::device_flush_start_time_ |
|
private |
std::string xiaoqiang_freenect_camera::FreenectDevice::device_serial_ |
|
private |
boost::function<void(const ImageBuffer&)> xiaoqiang_freenect_camera::FreenectDevice::image_callback_ |
|
private |
boost::function<void(const ImageBuffer&)> xiaoqiang_freenect_camera::FreenectDevice::ir_callback_ |
|
private |
boost::recursive_mutex xiaoqiang_freenect_camera::FreenectDevice::m_settings_ |
|
private |
bool xiaoqiang_freenect_camera::FreenectDevice::publishers_ready_ |
|
private |
bool xiaoqiang_freenect_camera::FreenectDevice::should_stream_depth_ |
|
private |
bool xiaoqiang_freenect_camera::FreenectDevice::should_stream_video_ |
|
private |
bool xiaoqiang_freenect_camera::FreenectDevice::streaming_depth_ |
|
private |
bool xiaoqiang_freenect_camera::FreenectDevice::streaming_video_ |
|
private |
ImageBuffer xiaoqiang_freenect_camera::FreenectDevice::video_buffer_ |
|
private |
The documentation for this class was generated from the following file: