Go to the documentation of this file.
37 #ifndef __OPENNI_IMAGE__
38 #define __OPENNI_IMAGE__
40 #include <XnCppWrapper.h>
42 #include <boost/shared_ptr.hpp>
68 inline virtual ~Image () throw ();
70 unsigned output_width,
unsigned output_height) const = 0;
71 virtual
void fillRGB (
unsigned width,
unsigned height,
unsigned char* rgb_buffer,
82 virtual void fillGrayscale (
unsigned width,
unsigned height,
unsigned char* gray_buffer,
85 inline
unsigned getWidth () const throw ();
86 inline
unsigned getHeight () const throw ();
89 inline const xn::ImageMetaData&
getMetaData () const throw ();
122 return (
unsigned long)
image_md_->Timestamp ();
135 #endif //__OPENNI_IMAGE__
boost::shared_ptr< xn::ImageMetaData > image_md_
virtual Encoding getEncoding() const =0
unsigned getHeight() const
unsigned getWidth() const
virtual void fillRGB(unsigned width, unsigned height, unsigned char *rgb_buffer, unsigned rgb_line_step=0) const =0
Image class containing just a reference to image meta data. Thus this class just provides an interfac...
boost::shared_ptr< Image > Ptr
void fillRaw(unsigned char *rgb_buffer) const
unsigned getFrameID() const
Image(boost::shared_ptr< xn::ImageMetaData > image_meta_data)
unsigned long getTimeStamp() const
virtual bool isResizingSupported(unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const =0
const xn::ImageMetaData & getMetaData() const
virtual void fillGrayscale(unsigned width, unsigned height, unsigned char *gray_buffer, unsigned gray_line_step=0) const =0
const boost::shared_ptr< xn::ImageMetaData > getMetaDataPtr() const
boost::shared_ptr< const Image > ConstPtr
openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Thu Apr 21 2022 02:37:23