$search
This class provides methods to fill a depth or disparity image. More...
#include <openni_depth_image.h>
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_ |
This class provides methods to fill a depth or disparity image.
Definition at line 49 of file openni_depth_image.h.
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.
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.
void openni_wrapper::DepthImage::fillDepthImage | ( | unsigned | width, | |
unsigned | height, | |||
float * | depth_buffer, | |||
unsigned | line_step = 0 | |||
) | const throw (OpenNIException) |
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) |
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.
float openni_wrapper::DepthImage::baseline_ [protected] |
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.
float openni_wrapper::DepthImage::focal_length_ [protected] |
Definition at line 67 of file openni_depth_image.h.
XnUInt64 openni_wrapper::DepthImage::no_sample_value_ [protected] |
Definition at line 69 of file openni_depth_image.h.
XnUInt64 openni_wrapper::DepthImage::shadow_value_ [protected] |
Definition at line 68 of file openni_depth_image.h.