Public Types | Public Member Functions | Protected Attributes
openni_wrapper::DepthImage Class Reference

This class provides methods to fill a depth or disparity image. More...

#include <openni_depth_image.h>

List of all members.

Public Types

typedef boost::shared_ptr
< const DepthImage
ConstPtr
typedef boost::shared_ptr
< DepthImage
Ptr

Public Member Functions

 DepthImage (boost::shared_ptr< xn::DepthMetaData > depth_meta_data, float baseline, float focal_length, XnUInt64 shadow_value, XnUInt64 no_sample_value) throw ()
void fillDepthImage (unsigned width, unsigned height, float *depth_buffer, unsigned line_step=0) const throw (OpenNIException)
void fillDepthImageRaw (unsigned width, unsigned height, unsigned short *depth_buffer, unsigned line_step=0) const throw (OpenNIException)
void fillDisparityImage (unsigned width, unsigned height, float *disparity_buffer, unsigned line_step=0) const throw (OpenNIException)
float getBaseline () const throw ()
const xn::DepthMetaData & getDepthMetaData () const throw ()
float getFocalLength () const throw ()
unsigned getFrameID () const throw ()
unsigned getHeight () const throw ()
XnUInt64 getNoSampleValue () const throw ()
XnUInt64 getShadowValue () const throw ()
unsigned long getTimeStamp () const throw ()
unsigned getWidth () const throw ()
virtual ~DepthImage () throw ()

Protected Attributes

float baseline_
boost::shared_ptr
< xn::DepthMetaData > 
depth_md_
float focal_length_
XnUInt64 no_sample_value_
XnUInt64 shadow_value_

Detailed Description

This class provides methods to fill a depth or disparity image.

Author:
Suat Gedikli
Date:
02.january 2011

Definition at line 52 of file openni_depth_image.h.


Member Typedef Documentation

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

Definition at line 56 of file openni_depth_image.h.

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

Definition at line 55 of file openni_depth_image.h.


Constructor & Destructor Documentation

openni_wrapper::DepthImage::DepthImage ( boost::shared_ptr< xn::DepthMetaData >  depth_meta_data,
float  baseline,
float  focal_length,
XnUInt64  shadow_value,
XnUInt64  no_sample_value 
) throw () [inline]

Definition at line 82 of file openni_depth_image.h.

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

Definition at line 91 of file openni_depth_image.h.


Member Function Documentation

void openni_wrapper::DepthImage::fillDepthImage ( unsigned  width,
unsigned  height,
float *  depth_buffer,
unsigned  line_step = 0 
) const throw (OpenNIException)
Todo:
Different values for these cases

Definition at line 99 of file openni_depth_image.cpp.

void openni_wrapper::DepthImage::fillDepthImageRaw ( unsigned  width,
unsigned  height,
unsigned short *  depth_buffer,
unsigned  line_step = 0 
) const throw (OpenNIException)
Todo:
Different values for these cases

Definition at line 47 of file openni_depth_image.cpp.

void openni_wrapper::DepthImage::fillDisparityImage ( unsigned  width,
unsigned  height,
float *  disparity_buffer,
unsigned  line_step = 0 
) const throw (OpenNIException)

Definition at line 144 of file openni_depth_image.cpp.

float openni_wrapper::DepthImage::getBaseline ( ) const throw () [inline]

Definition at line 100 of file openni_depth_image.h.

const xn::DepthMetaData & openni_wrapper::DepthImage::getDepthMetaData ( ) const throw () [inline]

Definition at line 95 of file openni_depth_image.h.

float openni_wrapper::DepthImage::getFocalLength ( ) const throw () [inline]

Definition at line 105 of file openni_depth_image.h.

unsigned openni_wrapper::DepthImage::getFrameID ( ) const throw () [inline]

Definition at line 130 of file openni_depth_image.h.

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

Definition at line 125 of file openni_depth_image.h.

XnUInt64 openni_wrapper::DepthImage::getNoSampleValue ( ) const throw () [inline]

Definition at line 115 of file openni_depth_image.h.

XnUInt64 openni_wrapper::DepthImage::getShadowValue ( ) const throw () [inline]

Definition at line 110 of file openni_depth_image.h.

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

Definition at line 135 of file openni_depth_image.h.

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

Definition at line 120 of file openni_depth_image.h.


Member Data Documentation

Definition at line 76 of file openni_depth_image.h.

boost::shared_ptr<xn::DepthMetaData> openni_wrapper::DepthImage::depth_md_ [protected]

Definition at line 75 of file openni_depth_image.h.

Definition at line 77 of file openni_depth_image.h.

Definition at line 79 of file openni_depth_image.h.

Definition at line 78 of file openni_depth_image.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