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