Public Member Functions | Private Member Functions | Private Attributes
xn::DepthMetaData Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::DepthMetaData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

XnStatus CopyFrom (const DepthMetaData &other)
const XnDepthPixelData () const
const XnDepthPixel *& Data ()
const xn::DepthMap & DepthMap () const
 Gets a light object wrapping the depth-map.
 DepthMetaData ()
const XnDepthMetaDataGetUnderlying () const
XnDepthMetaDataGetUnderlying ()
void InitFrom (const DepthMetaData &other)
XnStatus InitFrom (const DepthMetaData &other, XnUInt32 nXRes, XnUInt32 nYRes, const XnDepthPixel *pExternalBuffer)
const XnDepthPixeloperator() (XnUInt32 x, XnUInt32 y) const
const XnDepthPixeloperator[] (XnUInt32 nIndex) const
XnStatus ReAdjust (XnUInt32 nXRes, XnUInt32 nYRes, const XnDepthPixel *pExternalBuffer=NULL)
XnDepthPixelWritableData ()
xn::DepthMap & WritableDepthMap ()
 Gets a light object wrapping the writable depth-map.
XnDepthPixel ZRes () const
XnDepthPixelZRes ()

Private Member Functions

 DepthMetaData (const DepthMetaData &other)
DepthMetaDataoperator= (const DepthMetaData &)

Private Attributes

XnDepthMetaData m_depth
const xn::DepthMap m_depthMap
xn::DepthMap m_writableDepthMap

Detailed Description

Represents a MetaData object for generators producing depth-maps.

Definition at line 416 of file XnCppWrapper.h.


Constructor & Destructor Documentation

Ctor.

Definition at line 422 of file XnCppWrapper.h.

xn::DepthMetaData::DepthMetaData ( const DepthMetaData other) [private]

Member Function Documentation

XnStatus xn::DepthMetaData::CopyFrom ( const DepthMetaData other) [inline]

Performs a deep-copy of another Meta Data object (including a duplication of the data buffer)

Parameters:
other[in] source object

Definition at line 461 of file XnCppWrapper.h.

const XnDepthPixel* xn::DepthMetaData::Data ( ) const [inline]

Gets a pointer to the data.

Reimplemented from xn::OutputMetaData.

Definition at line 481 of file XnCppWrapper.h.

const XnDepthPixel*& xn::DepthMetaData::Data ( ) [inline]

Gets a pointer to the data.

Reimplemented from xn::OutputMetaData.

Definition at line 483 of file XnCppWrapper.h.

const xn::DepthMap& xn::DepthMetaData::DepthMap ( ) const [inline]

Gets a light object wrapping the depth-map.

Definition at line 488 of file XnCppWrapper.h.

Gets the C object that is wrapped by this object.

Reimplemented from xn::MapMetaData.

Definition at line 520 of file XnCppWrapper.h.

Gets the C object that is wrapped by this object.

Reimplemented from xn::MapMetaData.

Definition at line 522 of file XnCppWrapper.h.

void xn::DepthMetaData::InitFrom ( const DepthMetaData other) [inline]

Shallow-Copies a Depth Meta Data object. Note that the data buffer is not copied, and that both object will point to the same buffer.

Parameters:
other[in] source object.

Definition at line 436 of file XnCppWrapper.h.

XnStatus xn::DepthMetaData::InitFrom ( const DepthMetaData other,
XnUInt32  nXRes,
XnUInt32  nYRes,
const XnDepthPixel pExternalBuffer 
) [inline]

Shallow copies another Depth Meta Data object, and then ReAdjust it.

Parameters:
other[in] source object
nXRes[in] requested number of columns in the map
nYRes[in] requested number of rows in the map
pExternalBuffer[in] Optional. An external buffer matching requested resolution. If NULL, A buffer will be allocated.

Definition at line 450 of file XnCppWrapper.h.

const XnDepthPixel& xn::DepthMetaData::operator() ( XnUInt32  x,
XnUInt32  y 
) const [inline]

Gets the value of the pixel

Parameters:
x[in] X-coordinate of the pixel in the map
y[in] Y-coordinate of the pixel in the map

Definition at line 513 of file XnCppWrapper.h.

DepthMetaData& xn::DepthMetaData::operator= ( const DepthMetaData ) [private]
const XnDepthPixel& xn::DepthMetaData::operator[] ( XnUInt32  nIndex) const [inline]

Gets the value of the pixel

Parameters:
nIndex[in] The index of the pixel in the buffer.

Definition at line 501 of file XnCppWrapper.h.

XnStatus xn::DepthMetaData::ReAdjust ( XnUInt32  nXRes,
XnUInt32  nYRes,
const XnDepthPixel pExternalBuffer = NULL 
) [inline]

Changes dimensions of the pixel-map.

Parameters:
nXRes[in] Number of columns in the map
nYRes[in] Number of rows in the map
pExternalBuffer[in] Optional. An external buffer to be used. If NULL is passed, a buffer will be allocated.

Definition at line 470 of file XnCppWrapper.h.

Gets a pointer to the writable buffer (see conc_meta_data).

Reimplemented from xn::OutputMetaData.

Definition at line 485 of file XnCppWrapper.h.

xn::DepthMap& xn::DepthMetaData::WritableDepthMap ( ) [inline]

Gets a light object wrapping the writable depth-map.

Definition at line 490 of file XnCppWrapper.h.

Gets the resolution of the depth axis (i.e. DepthGenerator::GetDeviceMaxDepth() + 1)

Definition at line 476 of file XnCppWrapper.h.

Gets the resolution of the depth axis (i.e. DepthGenerator::GetDeviceMaxDepth() + 1)

Definition at line 478 of file XnCppWrapper.h.


Member Data Documentation

Definition at line 529 of file XnCppWrapper.h.

const xn::DepthMap xn::DepthMetaData::m_depthMap [private]

Definition at line 530 of file XnCppWrapper.h.

xn::DepthMap xn::DepthMetaData::m_writableDepthMap [private]

Definition at line 531 of file XnCppWrapper.h.


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


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52