![]() |
OpenNI 1.5.4
|
#include <XnCppWrapper.h>
Public Member Functions | |
MockDepthGenerator (XnNodeHandle hNode=NULL) | |
MockDepthGenerator (const NodeWrapper &other) | |
XnStatus | Create (Context &context, const XnChar *strName=NULL) |
XnStatus | CreateBasedOn (DepthGenerator &other, const XnChar *strName=NULL) |
XnStatus | SetData (XnUInt32 nFrameID, XnUInt64 nTimestamp, XnUInt32 nDataSize, const XnDepthPixel *pDepthMap) |
XnStatus | SetData (const DepthMetaData &depthMD, XnUInt32 nFrameID, XnUInt64 nTimestamp) |
XnStatus | SetData (const DepthMetaData &depthMD) |
Represents a mock depth generator
xn::MockDepthGenerator::MockDepthGenerator | ( | XnNodeHandle | hNode = NULL | ) | [inline] |
Ctor
[in] | hNode | Node handle |
xn::MockDepthGenerator::MockDepthGenerator | ( | const NodeWrapper & | other | ) | [inline] |
XnStatus xn::MockDepthGenerator::Create | ( | Context & | context, |
const XnChar * | strName = NULL |
||
) | [inline] |
Creates a mock depth generator
[in] | context | The context in which the node should be generated |
[in] | strName | Optional. The name of the new node. |
XnStatus xn::MockDepthGenerator::CreateBasedOn | ( | DepthGenerator & | other, |
const XnChar * | strName = NULL |
||
) | [inline] |
Creates a mock depth generator, copying the initial state from another depth generator.
[in] | other | The depth generator to copy state from |
[in] | strName | Optional. The name of the new node. |
XnStatus xn::MockDepthGenerator::SetData | ( | const DepthMetaData & | depthMD, |
XnUInt32 | nFrameID, | ||
XnUInt64 | nTimestamp | ||
) | [inline] |
Sets the data of the mock node from a meta data object, overriding frame ID and timestamp
[in] | depthMD | Object to take data from |
[in] | nFrameID | Frame ID |
[in] | nTimestamp | Timestamp |
XnStatus xn::MockDepthGenerator::SetData | ( | XnUInt32 | nFrameID, |
XnUInt64 | nTimestamp, | ||
XnUInt32 | nDataSize, | ||
const XnDepthPixel * | pDepthMap | ||
) | [inline] |
XnStatus xn::MockDepthGenerator::SetData | ( | const DepthMetaData & | depthMD | ) | [inline] |
Sets the data of the mock node from a metadata object.
[in] | depthMD | Object to take data from |