This class provides methods to fill a RGB or Grayscale image buffer from underlying RGB24 image. More...
#include <openni_image_rgb24.h>
Public Member Functions | |
virtual void | fillGrayscale (unsigned width, unsigned height, unsigned char *gray_buffer, unsigned gray_line_step=0) const throw (OpenNIException) |
virtual void | fillRGB (unsigned width, unsigned height, unsigned char *rgb_buffer, unsigned rgb_line_step=0) const throw (OpenNIException) |
virtual Encoding | getEncoding () const |
ImageRGB24 (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 |
virtual | ~ImageRGB24 () throw () |
Static Public Member Functions | |
static bool | resizingSupported (unsigned input_width, unsigned input_height, unsigned output_width, unsigned output_height) |
This class provides methods to fill a RGB or Grayscale image buffer from underlying RGB24 image.
Definition at line 49 of file openni_image_rgb24.h.
openni_wrapper::ImageRGB24::ImageRGB24 | ( | boost::shared_ptr< xn::ImageMetaData > | image_meta_data | ) | throw () |
Definition at line 5 of file openni_image_rgb24.cpp.
openni_wrapper::ImageRGB24::~ImageRGB24 | ( | ) | throw () [virtual] |
Definition at line 10 of file openni_image_rgb24.cpp.
void openni_wrapper::ImageRGB24::fillGrayscale | ( | unsigned | width, |
unsigned | height, | ||
unsigned char * | gray_buffer, | ||
unsigned | gray_line_step = 0 |
||
) | const throw (OpenNIException) [virtual] |
Implements openni_wrapper::Image.
Definition at line 14 of file openni_image_rgb24.cpp.
void openni_wrapper::ImageRGB24::fillRGB | ( | unsigned | width, |
unsigned | height, | ||
unsigned char * | rgb_buffer, | ||
unsigned | rgb_line_step = 0 |
||
) | const throw (OpenNIException) [virtual] |
Implements openni_wrapper::Image.
Definition at line 46 of file openni_image_rgb24.cpp.
virtual Encoding openni_wrapper::ImageRGB24::getEncoding | ( | ) | const [inline, virtual] |
Implements openni_wrapper::Image.
Definition at line 57 of file openni_image_rgb24.h.
bool openni_wrapper::ImageRGB24::isResizingSupported | ( | unsigned | input_width, |
unsigned | input_height, | ||
unsigned | output_width, | ||
unsigned | output_height | ||
) | const [virtual] |
Implements openni_wrapper::Image.
Definition at line 102 of file openni_image_rgb24.cpp.
bool openni_wrapper::ImageRGB24::resizingSupported | ( | unsigned | input_width, |
unsigned | input_height, | ||
unsigned | output_width, | ||
unsigned | output_height | ||
) | [inline, static] |
Definition at line 68 of file openni_image_rgb24.h.