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