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" 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);
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 startDepthStream()
starts the depth stream.
virtual ~DevicePrimesense()
Class representing an astract device for OpenNI devices: Primesense PSDK, Microsoft Kinect,...
Image class containing just a reference to image meta data.
virtual boost::shared_ptr< Image > getCurrentImage(boost::shared_ptr< xn::ImageMetaData > image_meta_data) const
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
void enumAvailableModes()
virtual void startImageStream()
starts the image stream.
Driver class implemented as Singleton.
DevicePrimesense(xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &image_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node)