37 #include <pcl/pcl_config.h>
40 #ifndef __OPENNI_DEVICE_XTION_PRO__
41 #define __OPENNI_DEVICE_XTION_PRO__
43 #include "openni_device.h"
44 #include "openni_driver.h"
45 #include "openni_image_yuv_422.h"
47 namespace openni_wrapper
60 DeviceXtionPro (xn::Context& context,
const xn::NodeInfo& device_node,
const xn::NodeInfo& depth_node,
const xn::NodeInfo& ir_node);
65 virtual boost::shared_ptr<
Image>
getCurrentImage (boost::shared_ptr<xn::ImageMetaData> image_meta_data) const throw ();
67 virtual
bool isImageResizeSupported (
unsigned input_width,
unsigned input_height,
unsigned output_width,
unsigned output_height) const throw ();
74 #endif // __OPENNI_DEVICE_PRIMESENSE__
DeviceXtionPro(xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node)
virtual boost::shared_ptr< Image > getCurrentImage(boost::shared_ptr< xn::ImageMetaData > image_meta_data) const
Driver class implemented as Singleton.
Concrete implementation of the interface OpenNIDevice for a Asus Xtion Pro device.
Class representing an astract device for OpenNI devices: Primesense PSDK, Microsoft Kinect...
Image class containing just a reference to image meta data.
virtual void startDepthStream()
starts the depth stream.
virtual ~DeviceXtionPro()
void enumAvailableModes()
virtual bool isImageResizeSupported(unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const