Classes | Typedefs | Functions | Variables
freenect_camera Namespace Reference

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 &registration)
void allocateBufferVideo (ImageBuffer &buffer, const freenect_video_format &format, const freenect_resolution &resolution, const freenect_registration &registration)
void fillImage (const ImageBuffer &buffer, void *data)
float getDepthFocalLength (const freenect_registration &registration, 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 Documentation

typedef freenect_resolution freenect_camera::OutputMode

Definition at line 21 of file freenect_device.hpp.


Function Documentation

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.


Variable Documentation

const unsigned freenect_camera::PRODUCT_ID = 0x2ae [static]

Definition at line 17 of file freenect_device.hpp.

const std::string freenect_camera::PRODUCT_NAME = "Xbox NUI Camera" [static]

Definition at line 16 of file freenect_device.hpp.

Definition at line 13 of file image_buffer.hpp.

const unsigned freenect_camera::VENDOR_ID = 0x45e [static]

Definition at line 19 of file freenect_device.hpp.

const std::string freenect_camera::VENDOR_NAME = "Microsoft" [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.



freenect_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu (original openni_camera driver)., Piyush Khandelwal (libfreenect port).
autogenerated on Fri Aug 28 2015 10:41:49