libkovan  1
The kovan standard library
depth::DepthImage Class Referenceabstract

#include <depth_image.hpp>

Inheritance diagram for depth::DepthImage:
depth::XtionDepthImage

Public Member Functions

virtual ~DepthImage ()
 
virtual void setOrientation (const uint16_t orientation)=0
 
virtual uint16_t orientation () const =0
 
virtual uint32_t height () const =0
 
virtual uint32_t width () const =0
 
virtual uint16_t depthAt (const uint32_t row, const uint32_t column) const =0
 
virtual void depth (uint16_t *const data, const uint32_t offset, const uint32_t size) const =0
 
virtual Point3< int32_t > pointAt (const uint32_t row, const uint32_t column) const =0
 

Constructor & Destructor Documentation

virtual depth::DepthImage::~DepthImage ( )
virtual

Member Function Documentation

virtual void depth::DepthImage::depth ( uint16_t *const  data,
const uint32_t  offset,
const uint32_t  size 
) const
pure virtual

Implemented in depth::XtionDepthImage.

virtual uint16_t depth::DepthImage::depthAt ( const uint32_t  row,
const uint32_t  column 
) const
pure virtual

Returns the depth value of the specified point.

Parameters
rowThe row index of the point
columnThe column index of the point
Returns
The depth value

Implemented in depth::XtionDepthImage.

virtual uint32_t depth::DepthImage::height ( ) const
pure virtual

Returns the height of the depth image in pixel

Returns
Height of the depth image in pixel

Implemented in depth::XtionDepthImage.

virtual uint16_t depth::DepthImage::orientation ( ) const
pure virtual

Gets the depth camera orientation

Returns
Depth camera orientation (0 or 180 degree)

Implemented in depth::XtionDepthImage.

virtual Point3<int32_t> depth::DepthImage::pointAt ( const uint32_t  row,
const uint32_t  column 
) const
pure virtual

Returns the specified point.

Parameters
rowThe row index of the point
columnThe column index of the point
Returns
The point or 0 if there no point at this coordinate

Implemented in depth::XtionDepthImage.

virtual void depth::DepthImage::setOrientation ( const uint16_t  orientation)
pure virtual

Sets the depth camera orientation

Parameters
orientationDepth camera orientation (0 - 359 degree)

Implemented in depth::XtionDepthImage.

virtual uint32_t depth::DepthImage::width ( ) const
pure virtual

Returns the width of the depth image in pixel

Returns
Width of the depth image in pixel

Implemented in depth::XtionDepthImage.


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