Concrete implementation of the interface OpenNIDevice for a Primesense device. More...
#include <openni_device_primesense.h>
Public Member Functions | |
DevicePrimesense (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) | |
virtual | ~DevicePrimesense () throw () |
Protected Member Functions | |
virtual void | getAvailableModes () 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 () |
virtual void | startDepthStream () throw (OpenNIException) |
virtual void | startImageStream () throw (OpenNIException) |
Friends | |
class | OpenNIDriver |
Concrete implementation of the interface OpenNIDevice for a Primesense device.
Definition at line 50 of file openni_device_primesense.h.
openni_wrapper::DevicePrimesense::DevicePrimesense | ( | 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 49 of file openni_device_primesense.cpp.
openni_wrapper::DevicePrimesense::~DevicePrimesense | ( | ) | throw () [virtual] |
Definition at line 71 of file openni_device_primesense.cpp.
void openni_wrapper::DevicePrimesense::getAvailableModes | ( | ) | throw (OpenNIException) [protected, virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 131 of file openni_device_primesense.cpp.
boost::shared_ptr< Image > openni_wrapper::DevicePrimesense::getCurrentImage | ( | boost::shared_ptr< xn::ImageMetaData > | image_meta_data | ) | const throw () [protected, virtual] |
Implements openni_wrapper::OpenNIDevice.
Definition at line 195 of file openni_device_primesense.cpp.
bool openni_wrapper::DevicePrimesense::isImageResizeSupported | ( | unsigned | input_width, | |
unsigned | input_height, | |||
unsigned | output_width, | |||
unsigned | output_height | |||
) | const throw () [protected, virtual] |
Implements openni_wrapper::OpenNIDevice.
Definition at line 85 of file openni_device_primesense.cpp.
void openni_wrapper::DevicePrimesense::startDepthStream | ( | ) | throw (OpenNIException) [protected, virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 240 of file openni_device_primesense.cpp.
void openni_wrapper::DevicePrimesense::startImageStream | ( | ) | throw (OpenNIException) [protected, virtual] |
Reimplemented from openni_wrapper::OpenNIDevice.
Definition at line 200 of file openni_device_primesense.cpp.
friend class OpenNIDriver [friend] |
Definition at line 45 of file openni_device_primesense.h.