38 #ifndef __OPENNI_DEVICE_KINECT__ 39 #define __OPENNI_DEVICE_KINECT__ 57 DeviceKinect (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);
69 virtual
void setDepthCropping (
unsigned x,
unsigned y,
unsigned width,
unsigned height) throw (OpenNIException);
75 virtual
bool isImageResizeSupported (
unsigned input_width,
unsigned input_height,
unsigned output_width,
unsigned output_height) const throw ();
81 debayering_method_ = debayering_method;
90 #endif // __OPENNI_DEVICE_KINECT__ virtual void setDepthCropping(unsigned x, unsigned y, unsigned width, unsigned height)
DeviceKinect(xn::Context &context, const xn::NodeInfo &device_node, const xn::NodeInfo &image_node, const xn::NodeInfo &depth_node, const xn::NodeInfo &ir_node)
Driver class implemented as Singleton. This class contains the xn::Context object used by all devices...
virtual bool isDepthCroppingSupported() const
void setDebayeringMethod(const ImageBayerGRBG::DebayeringMethod &debayering_method)
Image class containing just a reference to image meta data. Thus this class just provides an interfac...
Concrete implementation of the interface OpenNIDevice for a MS Kinect device.
virtual boost::shared_ptr< Image > getCurrentImage(boost::shared_ptr< xn::ImageMetaData > image_meta_data) const
virtual void enumAvailableModes()
virtual bool isDepthCropped() const
const ImageBayerGRBG::DebayeringMethod & getDebayeringMethod() const
This class provides methods to fill a RGB or Grayscale image buffer from underlying Bayer pattern ima...
virtual bool isSynchronizationSupported() const
ImageBayerGRBG::DebayeringMethod debayering_method_
virtual void setSynchronization(bool on_off)
Class representing an astract device for Primesense or MS Kinect devices.
virtual bool isImageResizeSupported(unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const
virtual bool isSynchronized() const