OpenNI 1.3.2
|
#include <XnCppWrapper.h>
Public Member Functions | |
DepthMetaData () | |
void | InitFrom (const DepthMetaData &other) |
XnStatus | InitFrom (const DepthMetaData &other, XnUInt32 nXRes, XnUInt32 nYRes, const XnDepthPixel *pExternalBuffer) |
XnStatus | CopyFrom (const DepthMetaData &other) |
XnStatus | ReAdjust (XnUInt32 nXRes, XnUInt32 nYRes, const XnDepthPixel *pExternalBuffer=NULL) |
XnDepthPixel | ZRes () const |
XnDepthPixel & | ZRes () |
const XnDepthPixel * | Data () const |
const XnDepthPixel *& | Data () |
XnDepthPixel * | WritableData () |
const xn::DepthMap & | DepthMap () const |
xn::DepthMap & | WritableDepthMap () |
const XnDepthPixel & | operator[] (XnUInt32 nIndex) const |
const XnDepthPixel & | operator() (XnUInt32 x, XnUInt32 y) const |
const XnDepthMetaData * | GetUnderlying () const |
XnDepthMetaData * | GetUnderlying () |
![]() | |
MapMetaData (XnPixelFormat format, const XnUInt8 **ppData) | |
XnUInt32 | XRes () const |
XnUInt32 & | XRes () |
XnUInt32 | YRes () const |
XnUInt32 & | YRes () |
XnUInt32 | XOffset () const |
XnUInt32 & | XOffset () |
XnUInt32 | YOffset () const |
XnUInt32 & | YOffset () |
XnUInt32 | FullXRes () const |
XnUInt32 & | FullXRes () |
XnUInt32 | FullYRes () const |
XnUInt32 & | FullYRes () |
XnUInt32 | FPS () const |
XnUInt32 & | FPS () |
XnPixelFormat | PixelFormat () const |
XnUInt32 | BytesPerPixel () const |
XnStatus | AllocateData (XnUInt32 nXRes, XnUInt32 nYRes) |
XnStatus | ReAdjust (XnUInt32 nXRes, XnUInt32 nYRes, const XnUInt8 *pExternalBuffer) |
![]() | |
OutputMetaData (const XnUInt8 **ppData) | |
virtual | ~OutputMetaData () |
XnUInt64 | Timestamp () const |
XnUInt64 & | Timestamp () |
XnUInt32 | FrameID () const |
XnUInt32 & | FrameID () |
XnUInt32 | DataSize () const |
XnUInt32 & | DataSize () |
XnBool | IsDataNew () const |
XnBool & | IsDataNew () |
XnStatus | AllocateData (XnUInt32 nBytes) |
void | Free () |
XnStatus | MakeDataWritable () |
Additional Inherited Members | |
![]() | |
XnPixelFormat & | PixelFormatImpl () |
![]() | |
XnUInt8 * | m_pAllocatedData |
Represents a MetaData object for generators producing depth-maps.
|
inline |
Ctor.
|
inline |
Performs a deep-copy of another Meta Data object (including a duplication of the data buffer)
other | [in] source object |
|
inline |
Gets a pointer to the data.
Reimplemented from xn::OutputMetaData.
|
inline |
Gets a pointer to the data.
Reimplemented from xn::OutputMetaData.
|
inline |
Gets a light object wrapping the depth-map.
|
inline |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
|
inline |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
|
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.
other | [in] source object. |
|
inline |
Shallow copies another Depth Meta Data object, and then ReAdjust it.
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. |
|
inline |
Gets the value of the pixel
x | [in] X-coordinate of the pixel in the map |
y | [in] Y-coordinate of the pixel in the map |
|
inline |
Gets the value of the pixel
nIndex | [in] The index of the pixel in the buffer. |
|
inline |
Changes dimensions of the pixel-map.
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. |
|
inline |
Gets a pointer to the writable buffer (see Meta Data Objects).
Reimplemented from xn::OutputMetaData.
|
inline |
Gets a light object wrapping the writable depth-map.
|
inline |
Gets the resolution of the depth axis (i.e. DepthGenerator::GetDeviceMaxDepth() + 1)
|
inline |
Gets the resolution of the depth axis (i.e. DepthGenerator::GetDeviceMaxDepth() + 1)