Image class containing just a reference to image meta data. Thus this class just provides an interface to fill a RGB or Grayscale image buffer. More...
#include <openni_image.h>
Public Types | |
typedef boost::shared_ptr< const Image > | ConstPtr |
enum | Encoding { BAYER_GRBG, YUV422, RGB } |
typedef boost::shared_ptr< Image > | Ptr |
Public Member Functions | |
virtual void | fillGrayscale (unsigned width, unsigned height, unsigned char *gray_buffer, unsigned gray_line_step=0) const =0 throw (OpenNIException) |
void | fillRaw (unsigned char *rgb_buffer) const throw (OpenNIException) |
virtual void | fillRGB (unsigned width, unsigned height, unsigned char *rgb_buffer, unsigned rgb_line_step=0) const =0 throw (OpenNIException) |
virtual Encoding | getEncoding () const =0 |
unsigned | getFrameID () const throw () |
unsigned | getHeight () const throw () |
const xn::ImageMetaData & | getMetaData () const throw () |
const boost::shared_ptr< xn::ImageMetaData > | getMetaDataPtr () const |
unsigned long | getTimeStamp () const throw () |
unsigned | getWidth () const throw () |
Image (boost::shared_ptr< xn::ImageMetaData > image_meta_data) throw () | |
virtual bool | isResizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) const =0 |
virtual | ~Image () throw () |
Protected Attributes | |
boost::shared_ptr< xn::ImageMetaData > | image_md_ |
Image class containing just a reference to image meta data. Thus this class just provides an interface to fill a RGB or Grayscale image buffer.
image_meta_data |
Definition at line 54 of file openni_image.h.
typedef boost::shared_ptr<const Image> openni_wrapper::Image::ConstPtr |
Definition at line 58 of file openni_image.h.
Definition at line 57 of file openni_image.h.
Enumerator | |
---|---|
BAYER_GRBG | |
YUV422 | |
RGB |
Definition at line 60 of file openni_image.h.
|
inline |
Definition at line 96 of file openni_image.h.
|
inlinevirtual |
Definition at line 101 of file openni_image.h.
|
pure virtual |
Implemented in openni_wrapper::ImageBayerGRBG, openni_wrapper::ImageRGB24, and openni_wrapper::ImageYUV422.
|
inline |
Definition at line 77 of file openni_image.h.
|
pure virtual |
Implemented in openni_wrapper::ImageBayerGRBG, openni_wrapper::ImageRGB24, and openni_wrapper::ImageYUV422.
|
pure virtual |
Implemented in openni_wrapper::ImageBayerGRBG, openni_wrapper::ImageRGB24, and openni_wrapper::ImageYUV422.
|
inline |
Definition at line 115 of file openni_image.h.
|
inline |
Definition at line 110 of file openni_image.h.
|
inline |
Definition at line 125 of file openni_image.h.
|
inline |
Definition at line 130 of file openni_image.h.
|
inline |
Definition at line 120 of file openni_image.h.
|
inline |
Definition at line 105 of file openni_image.h.
|
pure virtual |
Implemented in openni_wrapper::ImageBayerGRBG, openni_wrapper::ImageRGB24, and openni_wrapper::ImageYUV422.
|
protected |
Definition at line 93 of file openni_image.h.