Classes | |
class | DriverNodelet |
class | FreenectDevice |
class | FreenectDriver |
class | ImageBuffer |
Holds an image buffer with all the metadata required to transmit the image over ROS channels. More... | |
Typedefs | |
typedef freenect_resolution | OutputMode |
Functions | |
void | allocateBufferDepth (ImageBuffer &buffer, const freenect_depth_format &format, const freenect_resolution &resolution, const freenect_registration ®istration) |
void | allocateBufferVideo (ImageBuffer &buffer, const freenect_video_format &format, const freenect_resolution &resolution, const freenect_registration ®istration) |
void | fillImage (const ImageBuffer &buffer, void *data) |
float | getDepthFocalLength (const freenect_registration ®istration, int width) |
float | getRGBFocalLength (int width) |
bool | isImageMode (const ImageBuffer &buffer) |
Variables | |
static const unsigned | PRODUCT_ID = 0x2ae |
static const std::string | PRODUCT_NAME = "Xbox NUI Camera" |
const float | RGB_FOCAL_LENGTH_SXGA = 1050 |
static const unsigned | VENDOR_ID = 0x45e |
static const std::string | VENDOR_NAME = "Microsoft" |
const float | WIDTH_SXGA = 1280 |
typedef freenect_resolution freenect_camera::OutputMode |
Definition at line 21 of file freenect_device.hpp.
void freenect_camera::allocateBufferDepth | ( | ImageBuffer & | buffer, |
const freenect_depth_format & | format, | ||
const freenect_resolution & | resolution, | ||
const freenect_registration & | registration | ||
) |
Reallocate the depth buffer if the depth format or resolution changes
Definition at line 122 of file image_buffer.hpp.
void freenect_camera::allocateBufferVideo | ( | ImageBuffer & | buffer, |
const freenect_video_format & | format, | ||
const freenect_resolution & | resolution, | ||
const freenect_registration & | registration | ||
) |
Reallocate the video buffer if the video format or resolution changes
Definition at line 56 of file image_buffer.hpp.
void freenect_camera::fillImage | ( | const ImageBuffer & | buffer, |
void * | data | ||
) |
Definition at line 185 of file image_buffer.hpp.
float freenect_camera::getDepthFocalLength | ( | const freenect_registration & | registration, |
int | width | ||
) |
Get Depth Focal length in pixels
Definition at line 43 of file image_buffer.hpp.
float freenect_camera::getRGBFocalLength | ( | int | width | ) |
Get RGB Focal length in pixels
Definition at line 35 of file image_buffer.hpp.
bool freenect_camera::isImageMode | ( | const ImageBuffer & | buffer | ) |
Definition at line 23 of file freenect_device.hpp.
|
static |
Definition at line 17 of file freenect_device.hpp.
|
static |
Definition at line 16 of file freenect_device.hpp.
const float freenect_camera::RGB_FOCAL_LENGTH_SXGA = 1050 |
Definition at line 13 of file image_buffer.hpp.
|
static |
Definition at line 19 of file freenect_device.hpp.
|
static |
Definition at line 18 of file freenect_device.hpp.
const float freenect_camera::WIDTH_SXGA = 1280 |
Definition at line 14 of file image_buffer.hpp.