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