OpenNI 1.3.2
|
#include <XnCppWrapper.h>
Public Member Functions | |
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 () |
const XnOutputMetaData * | GetUnderlying () const |
XnOutputMetaData * | GetUnderlying () |
const XnUInt8 * | Data () const |
const XnUInt8 *& | Data () |
XnUInt8 * | WritableData () |
XnStatus | AllocateData (XnUInt32 nBytes) |
void | Free () |
XnStatus | MakeDataWritable () |
Protected Attributes | |
XnUInt8 * | m_pAllocatedData |
Represents the basic MetaData object.
|
inline |
Ctor. Meant to be used by other MetaData objects.
ppData | [in] A pointer to the data member of the meta data object. |
|
inlinevirtual |
Dtor. Frees any allocated data.
|
inline |
Allocated a writable buffer. If a previous buffer was allocated it will be freed (or reused if possible). Also see Meta Data Objects.
nBytes | [in] The requested size for the buffer, in bytes. |
|
inline |
Gets a pointer to the data.
Reimplemented in xn::SceneMetaData, xn::IRMetaData, and xn::DepthMetaData.
|
inline |
Gets a pointer to the data.
Reimplemented in xn::SceneMetaData, xn::IRMetaData, and xn::DepthMetaData.
|
inline |
Gets the data size, in bytes
|
inline |
Gets the data size, in bytes
|
inline |
Gets the frame ID
|
inline |
Gets the frame ID
|
inline |
Frees the writable buffer, if one was allocated.
|
inline |
Gets the C object that is wrapped by this object.
Reimplemented in xn::SceneMetaData, xn::AudioMetaData, xn::IRMetaData, xn::ImageMetaData, xn::DepthMetaData, and xn::MapMetaData.
|
inline |
Gets the C object that is wrapped by this object.
Reimplemented in xn::SceneMetaData, xn::AudioMetaData, xn::IRMetaData, xn::ImageMetaData, xn::DepthMetaData, and xn::MapMetaData.
|
inline |
TRUE if data was updated since last call to any Update function.
|
inline |
TRUE if data was updated since last call to any Update function.
|
inline |
Allocates a buffer and copies current data to it, so that data can be edited. Also see Meta Data Objects.
|
inline |
Gets the timestamp
|
inline |
Gets the timestamp
|
inline |
Gets a pointer to the writable buffer (see Meta Data Objects).
Reimplemented in xn::SceneMetaData, xn::IRMetaData, xn::ImageMetaData, and xn::DepthMetaData.
|
protected |