#include <xtion_depth_image.hpp>
depth::XtionDepthImage::XtionDepthImage |
( |
const void *const |
data, |
|
|
const uint32_t |
size, |
|
|
const uint32_t |
width, |
|
|
const uint32_t |
height, |
|
|
const uint16_t |
orientation, |
|
|
XtionDepthDriverImpl *const |
impl |
|
) |
| |
virtual depth::XtionDepthImage::~XtionDepthImage |
( |
| ) |
|
|
virtual |
const void* depth::XtionDepthImage::data |
( |
| ) |
const |
virtual void depth::XtionDepthImage::depth |
( |
uint16_t *const |
data, |
|
|
const uint32_t |
offset, |
|
|
const uint32_t |
size |
|
) |
| const |
|
virtual |
virtual uint16_t depth::XtionDepthImage::depthAt |
( |
const uint32_t |
row, |
|
|
const uint32_t |
column |
|
) |
| const |
|
virtual |
Returns the depth value of the specified point.
- Parameters
-
row | The row index of the point |
column | The column index of the point |
- Returns
- The depth value
Implements depth::DepthImage.
virtual uint32_t depth::XtionDepthImage::height |
( |
| ) |
const |
|
virtual |
Returns the height of the depth image in pixel
- Returns
- Height of the depth image in pixel
Implements depth::DepthImage.
virtual uint16_t depth::XtionDepthImage::orientation |
( |
| ) |
const |
|
virtual |
Gets the depth camera orientation
- Returns
- Depth camera orientation (0 - 359 degree)
Implements depth::DepthImage.
virtual Point3<int32_t> depth::XtionDepthImage::pointAt |
( |
const uint32_t |
row, |
|
|
const uint32_t |
column |
|
) |
| const |
|
virtual |
Returns the specified point.
- Parameters
-
row | The row index of the point |
column | The column index of the point |
- Returns
- The point or 0 if there no point at this coordinate
Implements depth::DepthImage.
virtual void depth::XtionDepthImage::setOrientation |
( |
const uint16_t |
orientation | ) |
|
|
virtual |
Sets the depth camera orientation
- Parameters
-
orientation | Depth camera orientation (0 or 180 degree) |
Implements depth::DepthImage.
virtual uint32_t depth::XtionDepthImage::width |
( |
| ) |
const |
|
virtual |
Returns the width of the depth image in pixel
- Returns
- Width of the depth image in pixel
Implements depth::DepthImage.
The documentation for this class was generated from the following file: