openni_wrapper::Image Class Reference

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>

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

List of all members.

Public Types

typedef boost::shared_ptr
< const Image
ConstPtr
enum  Encoding { BAYER_GRBG, YUV422 }
typedef boost::shared_ptr< ImagePtr

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 ()
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_

Detailed Description

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.

Author:
Suat Gedikli
Date:
02.january 2011
Parameters:
image_meta_data 

Definition at line 54 of file openni_image.h.


Member Typedef Documentation

typedef boost::shared_ptr<const Image> openni_wrapper::Image::ConstPtr

Definition at line 58 of file openni_image.h.

typedef boost::shared_ptr<Image> openni_wrapper::Image::Ptr

Definition at line 57 of file openni_image.h.


Member Enumeration Documentation

Enumerator:
BAYER_GRBG 
YUV422 

Definition at line 60 of file openni_image.h.


Constructor & Destructor Documentation

openni_wrapper::Image::Image ( boost::shared_ptr< xn::ImageMetaData >  image_meta_data  )  throw () [inline]

Definition at line 94 of file openni_image.h.

openni_wrapper::Image::~Image (  )  throw () [inline, virtual]

Definition at line 99 of file openni_image.h.


Member Function Documentation

virtual void openni_wrapper::Image::fillGrayscale ( unsigned  width,
unsigned  height,
unsigned char *  gray_buffer,
unsigned  gray_line_step = 0 
) const throw (OpenNIException) [pure virtual]
void openni_wrapper::Image::fillRaw ( unsigned char *  rgb_buffer  )  const throw (OpenNIException) [inline]

Definition at line 76 of file openni_image.h.

virtual void openni_wrapper::Image::fillRGB ( unsigned  width,
unsigned  height,
unsigned char *  rgb_buffer,
unsigned  rgb_line_step = 0 
) const throw (OpenNIException) [pure virtual]
virtual Encoding openni_wrapper::Image::getEncoding (  )  const [pure virtual]
unsigned openni_wrapper::Image::getFrameID (  )  const throw () [inline]

Definition at line 113 of file openni_image.h.

unsigned openni_wrapper::Image::getHeight (  )  const throw () [inline]

Definition at line 108 of file openni_image.h.

const xn::ImageMetaData & openni_wrapper::Image::getMetaData (  )  const throw () [inline]

Definition at line 123 of file openni_image.h.

unsigned long openni_wrapper::Image::getTimeStamp (  )  const throw () [inline]

Definition at line 118 of file openni_image.h.

unsigned openni_wrapper::Image::getWidth (  )  const throw () [inline]

Definition at line 103 of file openni_image.h.

virtual bool openni_wrapper::Image::isResizingSupported ( unsigned  input_width,
unsigned  input_height,
unsigned  output_width,
unsigned  output_height 
) const [pure virtual]

Member Data Documentation

boost::shared_ptr<xn::ImageMetaData> openni_wrapper::Image::image_md_ [protected]

Definition at line 91 of file openni_image.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openni_camera_unstable
Author(s): Suat Gedikli, Patrick Mihelich, Radu Bogdan Rusu
autogenerated on Fri Jan 11 09:15:04 2013