Public Member Functions | Static Public Member Functions
openni_wrapper::ImageRGB24 Class Reference

This class provides methods to fill a RGB or Grayscale image buffer from underlying RGB24 image. More...

#include <openni_image_rgb24.h>

Inheritance diagram for openni_wrapper::ImageRGB24:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

This class provides methods to fill a RGB or Grayscale image buffer from underlying RGB24 image.

Author:
Suat Gedikli
Date:
19. June 2011

Definition at line 49 of file openni_image_rgb24.h.


Constructor & Destructor Documentation

openni_wrapper::ImageRGB24::ImageRGB24 ( boost::shared_ptr< xn::ImageMetaData >  image_meta_data) throw ()

Definition at line 5 of file openni_image_rgb24.cpp.

Definition at line 10 of file openni_image_rgb24.cpp.


Member Function Documentation

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.


The documentation for this class was generated from the following files:


openni_camera
Author(s): Patrick Mihelich, Suat Gedikli, Radu Bogdan Rusu
autogenerated on Wed Aug 26 2015 15:08:49