#include <XnCppWrapper.h>
Public Member Functions | |
XnStatus | CopyFrom (const SceneMetaData &other) |
const XnLabel * | Data () const |
const XnLabel *& | Data () |
const XnSceneMetaData * | GetUnderlying () const |
XnSceneMetaData * | GetUnderlying () |
void | InitFrom (const SceneMetaData &other) |
XnStatus | InitFrom (const SceneMetaData &other, XnUInt32 nXRes, XnUInt32 nYRes, const XnLabel *pExternalBuffer) |
const xn::LabelMap & | LabelMap () const |
Gets a light object wrapping the label map. | |
const XnLabel & | operator() (XnUInt32 x, XnUInt32 y) const |
const XnLabel & | operator[] (XnUInt32 nIndex) const |
XnStatus | ReAdjust (XnUInt32 nXRes, XnUInt32 nYRes, const XnLabel *pExternalBuffer=NULL) |
SceneMetaData () | |
Ctor. | |
XnLabel * | WritableData () |
xn::LabelMap & | WritableLabelMap () |
Gets a light object wrapping the writable label map. | |
Private Member Functions | |
SceneMetaData & | operator= (const SceneMetaData &) |
SceneMetaData (const SceneMetaData &other) | |
Private Attributes | |
const xn::LabelMap | m_labelMap |
XnSceneMetaData | m_scene |
xn::LabelMap | m_writableLabelMap |
Represents a MetaData object for generators producing scene analysis maps
Definition at line 849 of file XnCppWrapper.h.
xn::SceneMetaData::SceneMetaData | ( | ) | [inline] |
Ctor.
Definition at line 853 of file XnCppWrapper.h.
xn::SceneMetaData::SceneMetaData | ( | const SceneMetaData & | other | ) | [private] |
XnStatus xn::SceneMetaData::CopyFrom | ( | const SceneMetaData & | 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 880 of file XnCppWrapper.h.
const XnLabel* xn::SceneMetaData::Data | ( | ) | const [inline] |
Gets a pointer to the data.
Reimplemented from xn::OutputMetaData.
Definition at line 895 of file XnCppWrapper.h.
const XnLabel*& xn::SceneMetaData::Data | ( | ) | [inline] |
Gets a pointer to the data.
Reimplemented from xn::OutputMetaData.
Definition at line 897 of file XnCppWrapper.h.
const XnSceneMetaData* xn::SceneMetaData::GetUnderlying | ( | ) | const [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
Definition at line 930 of file XnCppWrapper.h.
XnSceneMetaData* xn::SceneMetaData::GetUnderlying | ( | ) | [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
Definition at line 932 of file XnCppWrapper.h.
void xn::SceneMetaData::InitFrom | ( | const SceneMetaData & | other | ) | [inline] |
Shallow-Copies a Scene 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 867 of file XnCppWrapper.h.
XnStatus xn::SceneMetaData::InitFrom | ( | const SceneMetaData & | other, |
XnUInt32 | nXRes, | ||
XnUInt32 | nYRes, | ||
const XnLabel * | 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 873 of file XnCppWrapper.h.
const xn::LabelMap& xn::SceneMetaData::LabelMap | ( | ) | const [inline] |
Gets a light object wrapping the label map.
Definition at line 902 of file XnCppWrapper.h.
Gets the label of the pixel
x | [in] X-coordinate of the pixel in the map |
y | [in] Y-coordinate of the pixel in the map |
Definition at line 923 of file XnCppWrapper.h.
SceneMetaData& xn::SceneMetaData::operator= | ( | const SceneMetaData & | ) | [private] |
Gets the label of the pixel
nIndex | [in] The index of the pixel in the buffer. |
Definition at line 911 of file XnCppWrapper.h.
XnStatus xn::SceneMetaData::ReAdjust | ( | XnUInt32 | nXRes, |
XnUInt32 | nYRes, | ||
const XnLabel * | 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 889 of file XnCppWrapper.h.
XnLabel* xn::SceneMetaData::WritableData | ( | ) | [inline] |
Gets a pointer to the writable buffer (see conc_meta_data).
Reimplemented from xn::OutputMetaData.
Definition at line 899 of file XnCppWrapper.h.
xn::LabelMap& xn::SceneMetaData::WritableLabelMap | ( | ) | [inline] |
Gets a light object wrapping the writable label map.
Definition at line 904 of file XnCppWrapper.h.
const xn::LabelMap xn::SceneMetaData::m_labelMap [private] |
Definition at line 940 of file XnCppWrapper.h.
XnSceneMetaData xn::SceneMetaData::m_scene [private] |
Definition at line 939 of file XnCppWrapper.h.
xn::LabelMap xn::SceneMetaData::m_writableLabelMap [private] |
Definition at line 941 of file XnCppWrapper.h.