xn::MockDepthGenerator Class Reference
[C++ Reference]
#include <XnCppWrapper.h>
List of all members.
Detailed Description
Represents a mock depth generator
Constructor & Destructor Documentation
xn::MockDepthGenerator::MockDepthGenerator |
( |
XnNodeHandle |
hNode = NULL |
) |
[inline] |
Member Function Documentation
XnStatus xn::MockDepthGenerator::Create |
( |
Context & |
context, |
|
|
const XnChar * |
strName = NULL | |
|
) |
| | [inline] |
Creates a mock depth generator
- Parameters:
-
| context | [in] The context in which the node should be generated |
| strName | [in] 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.
- Parameters:
-
| other | [in] The depth generator to copy state from |
| strName | [in] Optional. The name of the new node. |
Sets the data of the mock node from a meta data object.
- Parameters:
-
| depthMD | [in] Object to take data from |
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
- Parameters:
-
| depthMD | [in] Object to take data from |
| nFrameID | [in] Frame ID |
| nTimestamp | [in] Timestamp |
XnStatus xn::MockDepthGenerator::SetData |
( |
XnUInt32 |
nFrameID, |
|
|
XnUInt64 |
nTimestamp, |
|
|
XnUInt32 |
nDataSize, |
|
|
const XnDepthPixel * |
pDepthMap | |
|
) |
| | [inline] |
The documentation for this class was generated from the following file: