37 #include <pcl/pcl_config.h>
40 #ifndef __OPENNI_DEVICE_KINECT__
41 #define __OPENNI_DEVICE_KINECT__
43 #include "openni_device.h"
44 #include "openni_driver.h"
45 #include "openni_image_bayer_grbg.h"
47 namespace openni_wrapper
60 DeviceKinect (xn::Context& context,
const xn::NodeInfo& device_node,
const xn::NodeInfo& image_node,
const xn::NodeInfo& depth_node,
const xn::NodeInfo& ir_node);
69 virtual boost::shared_ptr<
Image>
getCurrentImage (boost::shared_ptr<xn::ImageMetaData> image_meta_data) const throw ();
71 virtual
bool isImageResizeSupported (
unsigned input_width,
unsigned input_height,
unsigned output_width,
unsigned output_height) const throw ();
78 debayering_method_ = debayering_method;
89 #endif // __OPENNI_DEVICE_KINECT__
DeviceKinect(xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &image_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node)
const ImageBayerGRBG::DebayeringMethod & getDebayeringMethod() const
ImageBayerGRBG::DebayeringMethod debayering_method_
Concrete implementation of the interface OpenNIDevice for a MS Kinect device.
virtual bool isSynchronizationSupported() const
This class provides methods to fill a RGB or Grayscale image buffer from underlying Bayer pattern ima...
void enumAvailableModes()
void setDebayeringMethod(const ImageBayerGRBG::DebayeringMethod &debayering_method)
Driver class implemented as Singleton.
virtual boost::shared_ptr< Image > getCurrentImage(boost::shared_ptr< xn::ImageMetaData > image_meta_data) const
Image class containing just a reference to image meta data.
virtual bool isImageResizeSupported(unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const
Class representing an astract device for OpenNI devices: Primesense PSDK, Microsoft Kinect...