#include <XnCppWrapper.h>
Public Member Functions | |
MockImageGenerator (XnNodeHandle hNode=NULL) | |
XnStatus | SetData (XnUInt32 nFrameID, XnUInt64 nTimestamp, XnUInt32 nDataSize, const XnUInt8 *pImageMap) |
XnStatus | SetData (ImageMetaData &imageMD, XnUInt32 nFrameID, XnUInt64 nTimestamp) |
XnStatus | SetData (ImageMetaData &imageMD) |
XnStatus | Create (Context &context, const XnChar *strName=NULL) |
XnStatus | CreateBasedOn (ImageGenerator &other, const XnChar *strName=NULL) |
Represents a mock image generator
Definition at line 2670 of file XnCppWrapper.h.
xn::MockImageGenerator::MockImageGenerator | ( | XnNodeHandle | hNode = NULL | ) | [inline] |
XnStatus xn::MockImageGenerator::Create | ( | Context & | context, |
const XnChar * | strName = NULL |
||
) | [inline] |
Creates a mock image generator
context | [in] The context in which the node should be generated |
strName | [in] Optional. The name of the new node. |
Definition at line 4584 of file XnCppWrapper.h.
XnStatus xn::MockImageGenerator::CreateBasedOn | ( | ImageGenerator & | other, |
const XnChar * | strName = NULL |
||
) | [inline] |
Creates a mock image generator, copying the initial state from another image generator.
other | [in] The image generator to copy state from |
strName | [in] Optional. The name of the new node. |
Definition at line 4589 of file XnCppWrapper.h.
XnStatus xn::MockImageGenerator::SetData | ( | XnUInt32 | nFrameID, |
XnUInt64 | nTimestamp, | ||
XnUInt32 | nDataSize, | ||
const XnUInt8 * | pImageMap | ||
) | [inline] |
Definition at line 2699 of file XnCppWrapper.h.
XnStatus xn::MockImageGenerator::SetData | ( | ImageMetaData & | imageMD, |
XnUInt32 | nFrameID, | ||
XnUInt64 | nTimestamp | ||
) | [inline] |
Sets the data of the mock node from a meta data object, overriding frame ID and timestamp
imageMD | [in] Object to take data from |
nFrameID | [in] Frame ID |
nTimestamp | [in] Timestamp |
Definition at line 2711 of file XnCppWrapper.h.
XnStatus xn::MockImageGenerator::SetData | ( | ImageMetaData & | imageMD | ) | [inline] |
Sets the data of the mock node from a meta data object.
imageMD | [in] Object to take data from |
Definition at line 2721 of file XnCppWrapper.h.