$search

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 49 of file openni_depth_image.h.


Member Typedef Documentation

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

Definition at line 46 of file openni_depth_image.h.

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

Definition at line 45 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 79 of file openni_depth_image.h.

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

Definition at line 88 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 97 of file openni_depth_image.h.

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

Definition at line 92 of file openni_depth_image.h.

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

Definition at line 102 of file openni_depth_image.h.

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

Definition at line 127 of file openni_depth_image.h.

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

Definition at line 122 of file openni_depth_image.h.

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

Definition at line 112 of file openni_depth_image.h.

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

Definition at line 107 of file openni_depth_image.h.

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

Definition at line 132 of file openni_depth_image.h.

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

Definition at line 117 of file openni_depth_image.h.


Member Data Documentation

Definition at line 66 of file openni_depth_image.h.

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

Definition at line 65 of file openni_depth_image.h.

Definition at line 67 of file openni_depth_image.h.

Definition at line 69 of file openni_depth_image.h.

Definition at line 68 of file openni_depth_image.h.


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


openni_camera
Author(s): Suat Gedikli, Patrick Mihelich, Radu Bogdan Rusu
autogenerated on Fri Mar 1 16:23:58 2013