Public Types | Public Member Functions | Protected Attributes

openni_wrapper::DepthImage Class Reference
[Module io]

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

#include <pcl/io/openni_camera/openni_depth_image.h>

List of all members.

Public Types

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

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 ()
virtual ~DepthImage () throw ()
const xn::DepthMetaData & getDepthMetaData () const throw ()
void fillDisparityImage (unsigned width, unsigned height, float *disparity_buffer, unsigned line_step=0) const throw (OpenNIException)
void fillDepthImage (unsigned width, unsigned height, float *depth_buffer, unsigned line_step=0) const throw (OpenNIException)
void fillDepthImageRaw (unsigned width, unsigned height, short *depth_buffer, unsigned line_step=0) const throw (OpenNIException)
float getBaseline () const throw ()
float getFocalLength () const throw ()
XnUInt64 getShadowValue () const throw ()
XnUInt64 getNoSampleValue () const throw ()
unsigned getWidth () const throw ()
unsigned getHeight () const throw ()
unsigned getFrameID () const throw ()
unsigned long getTimeStamp () const throw ()

Protected Attributes

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

Detailed Description

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

Author:
Suat Gedikli
Date:
02.january 2011

Definition at line 53 of file openni_depth_image.h.


Member Typedef Documentation

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

Definition at line 49 of file openni_depth_image.h.

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

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

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

Definition at line 92 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)
void openni_wrapper::DepthImage::fillDepthImageRaw ( unsigned  width,
unsigned  height,
short *  depth_buffer,
unsigned  line_step = 0 
) const throw (OpenNIException)
void openni_wrapper::DepthImage::fillDisparityImage ( unsigned  width,
unsigned  height,
float *  disparity_buffer,
unsigned  line_step = 0 
) const throw (OpenNIException)
float openni_wrapper::DepthImage::getBaseline (  )  const throw () [inline]

Definition at line 101 of file openni_depth_image.h.

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

Definition at line 96 of file openni_depth_image.h.

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

Definition at line 106 of file openni_depth_image.h.

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

Definition at line 131 of file openni_depth_image.h.

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

Definition at line 126 of file openni_depth_image.h.

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

Definition at line 116 of file openni_depth_image.h.

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

Definition at line 111 of file openni_depth_image.h.

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

Definition at line 136 of file openni_depth_image.h.

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

Definition at line 121 of file openni_depth_image.h.


Member Data Documentation

Definition at line 69 of file openni_depth_image.h.

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

Definition at line 68 of file openni_depth_image.h.

Definition at line 70 of file openni_depth_image.h.

Definition at line 72 of file openni_depth_image.h.

Definition at line 71 of file openni_depth_image.h.


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