#include <XnCppWrapper.h>
Public Member Functions | |
XnStatus | CopyFrom (const IRMetaData &other) |
const XnIRPixel * | Data () const |
const XnIRPixel *& | Data () |
const XnIRMetaData * | GetUnderlying () const |
XnIRMetaData * | GetUnderlying () |
void | InitFrom (const IRMetaData &other) |
XnStatus | InitFrom (const IRMetaData &other, XnUInt32 nXRes, XnUInt32 nYRes, const XnIRPixel *pExternalBuffer) |
const xn::IRMap & | IRMap () const |
Gets a light object wrapping the IR map. | |
IRMetaData () | |
Ctor. | |
XnStatus | ReAdjust (XnUInt32 nXRes, XnUInt32 nYRes, const XnIRPixel *pExternalBuffer=NULL) |
XnIRPixel * | WritableData () |
xn::IRMap & | WritableIRMap () |
Gets a light object wrapping the writable IR map. | |
Private Member Functions | |
IRMetaData (const IRMetaData &other) | |
IRMetaData & | operator= (const IRMetaData &) |
Private Attributes | |
XnIRMetaData | m_ir |
const xn::IRMap | m_irMap |
xn::IRMap | m_writableIRMap |
Represents a MetaData object for generators producing infra-red-maps.
Definition at line 720 of file XnCppWrapper.h.
xn::IRMetaData::IRMetaData | ( | ) | [inline] |
Ctor.
Definition at line 724 of file XnCppWrapper.h.
xn::IRMetaData::IRMetaData | ( | const IRMetaData & | other | ) | [private] |
XnStatus xn::IRMetaData::CopyFrom | ( | const IRMetaData & | other | ) | [inline] |
Performs a deep-copy of another Meta Data object (including a duplication of the data buffer)
other | [in] source object |
Definition at line 751 of file XnCppWrapper.h.
const XnIRPixel* xn::IRMetaData::Data | ( | ) | const [inline] |
Gets a pointer to the data.
Reimplemented from xn::OutputMetaData.
Definition at line 766 of file XnCppWrapper.h.
const XnIRPixel*& xn::IRMetaData::Data | ( | ) | [inline] |
Gets a pointer to the data.
Reimplemented from xn::OutputMetaData.
Definition at line 768 of file XnCppWrapper.h.
const XnIRMetaData* xn::IRMetaData::GetUnderlying | ( | ) | const [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
Definition at line 778 of file XnCppWrapper.h.
XnIRMetaData* xn::IRMetaData::GetUnderlying | ( | ) | [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
Definition at line 780 of file XnCppWrapper.h.
void xn::IRMetaData::InitFrom | ( | const IRMetaData & | other | ) | [inline] |
Shallow-Copies an IR 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. |
Definition at line 738 of file XnCppWrapper.h.
XnStatus xn::IRMetaData::InitFrom | ( | const IRMetaData & | other, |
XnUInt32 | nXRes, | ||
XnUInt32 | nYRes, | ||
const XnIRPixel * | pExternalBuffer | ||
) | [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. |
Definition at line 744 of file XnCppWrapper.h.
const xn::IRMap& xn::IRMetaData::IRMap | ( | ) | const [inline] |
Gets a light object wrapping the IR map.
Definition at line 773 of file XnCppWrapper.h.
IRMetaData& xn::IRMetaData::operator= | ( | const IRMetaData & | ) | [private] |
XnStatus xn::IRMetaData::ReAdjust | ( | XnUInt32 | nXRes, |
XnUInt32 | nYRes, | ||
const XnIRPixel * | pExternalBuffer = NULL |
||
) | [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. |
Definition at line 760 of file XnCppWrapper.h.
XnIRPixel* xn::IRMetaData::WritableData | ( | ) | [inline] |
Gets a pointer to the writable buffer (see conc_meta_data).
Reimplemented from xn::OutputMetaData.
Definition at line 770 of file XnCppWrapper.h.
xn::IRMap& xn::IRMetaData::WritableIRMap | ( | ) | [inline] |
Gets a light object wrapping the writable IR map.
Definition at line 775 of file XnCppWrapper.h.
XnIRMetaData xn::IRMetaData::m_ir [private] |
Definition at line 787 of file XnCppWrapper.h.
const xn::IRMap xn::IRMetaData::m_irMap [private] |
Definition at line 788 of file XnCppWrapper.h.
xn::IRMap xn::IRMetaData::m_writableIRMap [private] |
Definition at line 789 of file XnCppWrapper.h.