Concrete implementation of the interface OpenNIDevice for a MS Kinect device. More...
#include <openni_device_kinect.h>
Public Member Functions | |
DeviceKinect (xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &image_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node) throw (OpenNIException) | |
const ImageBayerGRBG::DebayeringMethod & | getDebayeringMethod () const throw () |
virtual bool | isDepthCropped () const throw (OpenNIException) |
virtual bool | isDepthCroppingSupported () const throw () |
virtual bool | isSynchronizationSupported () const throw () |
virtual bool | isSynchronized () const throw (OpenNIException) |
void | setDebayeringMethod (const ImageBayerGRBG::DebayeringMethod &debayering_method) throw () |
virtual void | setDepthCropping (unsigned x, unsigned y, unsigned width, unsigned height) throw (OpenNIException) |
virtual void | setSynchronization (bool on_off) throw (OpenNIException) |
virtual | ~DeviceKinect () throw () |
Protected Member Functions | |
virtual void | enumAvailableModes () throw (OpenNIException) |
virtual boost::shared_ptr< Image > | getCurrentImage (boost::shared_ptr< xn::ImageMetaData > image_meta_data) const throw () |
virtual bool | isImageResizeSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const throw () |
Protected Attributes | |
ImageBayerGRBG::DebayeringMethod | debayering_method_ |
Friends | |
class | OpenNIDriver |
Concrete implementation of the interface OpenNIDevice for a MS Kinect device.
Definition at line 53 of file openni_device_kinect.h.
openni_wrapper::DeviceKinect::DeviceKinect | ( | xn::Context & | context, |
const xn::NodeInfo & | device_node, | ||
const xn::NodeInfo & | image_node, | ||
const xn::NodeInfo & | depth_node, | ||
const xn::NodeInfo & | ir_node | ||
) | throw (OpenNIException) |
Definition at line 48 of file openni_device_kinect.cpp.
openni_wrapper::DeviceKinect::~DeviceKinect | ( | ) | throw () [virtual] |
Definition at line 80 of file openni_device_kinect.cpp.
void openni_wrapper::DeviceKinect::enumAvailableModes | ( | ) | throw (OpenNIException) [protected, virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 96 of file openni_device_kinect.cpp.
boost::shared_ptr< Image > openni_wrapper::DeviceKinect::getCurrentImage | ( | boost::shared_ptr< xn::ImageMetaData > | image_meta_data | ) | const throw () [protected, virtual] |
Implements openni_wrapper::OpenNIDevice.
Definition at line 114 of file openni_device_kinect.cpp.
const ImageBayerGRBG::DebayeringMethod & openni_wrapper::DeviceKinect::getDebayeringMethod | ( | ) | const throw () [inline] |
Definition at line 84 of file openni_device_kinect.h.
bool openni_wrapper::DeviceKinect::isDepthCropped | ( | ) | const throw (OpenNIException) [virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 135 of file openni_device_kinect.cpp.
bool openni_wrapper::DeviceKinect::isDepthCroppingSupported | ( | ) | const throw () [virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 146 of file openni_device_kinect.cpp.
bool openni_wrapper::DeviceKinect::isImageResizeSupported | ( | unsigned | input_width, |
unsigned | input_height, | ||
unsigned | output_width, | ||
unsigned | output_height | ||
) | const throw () [protected, virtual] |
Implements openni_wrapper::OpenNIDevice.
Definition at line 91 of file openni_device_kinect.cpp.
bool openni_wrapper::DeviceKinect::isSynchronizationSupported | ( | ) | const throw () [virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 130 of file openni_device_kinect.cpp.
bool openni_wrapper::DeviceKinect::isSynchronized | ( | ) | const throw (OpenNIException) [virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 125 of file openni_device_kinect.cpp.
void openni_wrapper::DeviceKinect::setDebayeringMethod | ( | const ImageBayerGRBG::DebayeringMethod & | debayering_method | ) | throw () [inline] |
Definition at line 79 of file openni_device_kinect.h.
void openni_wrapper::DeviceKinect::setDepthCropping | ( | unsigned | x, |
unsigned | y, | ||
unsigned | width, | ||
unsigned | height | ||
) | throw (OpenNIException) [virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 140 of file openni_device_kinect.cpp.
void openni_wrapper::DeviceKinect::setSynchronization | ( | bool | on_off | ) | throw (OpenNIException) [virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 119 of file openni_device_kinect.cpp.
friend class OpenNIDriver [friend] |
Definition at line 55 of file openni_device_kinect.h.
Definition at line 76 of file openni_device_kinect.h.