OpenNI 1.5.4
|
xn::MockImageGenerator Class Reference
#include <XnCppWrapper.h>
Inheritance diagram for xn::MockImageGenerator:
Public Member Functions | |
MockImageGenerator (XnNodeHandle hNode=NULL) | |
MockImageGenerator (const NodeWrapper &other) | |
XnStatus | Create (Context &context, const XnChar *strName=NULL) |
XnStatus | CreateBasedOn (ImageGenerator &other, const XnChar *strName=NULL) |
XnStatus | SetData (XnUInt32 nFrameID, XnUInt64 nTimestamp, XnUInt32 nDataSize, const XnUInt8 *pImageMap) |
XnStatus | SetData (const ImageMetaData &imageMD, XnUInt32 nFrameID, XnUInt64 nTimestamp) |
XnStatus | SetData (const ImageMetaData &imageMD) |
Detailed Description
Represents a mock image generator
Constructor & Destructor Documentation
xn::MockImageGenerator::MockImageGenerator | ( | XnNodeHandle | hNode = NULL | ) | [inline] |
Ctor
- Parameters:
-
[in] hNode Node handle
xn::MockImageGenerator::MockImageGenerator | ( | const NodeWrapper & | other | ) | [inline] |
Member Function Documentation
XnStatus xn::MockImageGenerator::Create | ( | Context & | context, |
const XnChar * | strName = NULL |
||
) | [inline] |
Creates a mock image generator
- Parameters:
-
[in] context The context in which the node should be generated [in] strName Optional. The name of the new node.
XnStatus xn::MockImageGenerator::CreateBasedOn | ( | ImageGenerator & | other, |
const XnChar * | strName = NULL |
||
) | [inline] |
Creates a mock image generator, copying the initial state from another image generator.
- Parameters:
-
[in] other The image generator to copy state from [in] strName Optional. The name of the new node.
XnStatus xn::MockImageGenerator::SetData | ( | XnUInt32 | nFrameID, |
XnUInt64 | nTimestamp, | ||
XnUInt32 | nDataSize, | ||
const XnUInt8 * | pImageMap | ||
) | [inline] |
For full details and usage, see xnMockImageSetData
XnStatus xn::MockImageGenerator::SetData | ( | const ImageMetaData & | imageMD, |
XnUInt32 | nFrameID, | ||
XnUInt64 | nTimestamp | ||
) | [inline] |
Sets the data of the mock node from a meta data object, overriding frame ID and timestamp
- Parameters:
-
[in] imageMD Object to take data from [in] nFrameID Frame ID [in] nTimestamp Timestamp
XnStatus xn::MockImageGenerator::SetData | ( | const ImageMetaData & | imageMD | ) | [inline] |
Sets the data of the mock node from a meta data object.
- Parameters:
-
[in] imageMD Object to take data from
The documentation for this class was generated from the following file:
Generated on Wed May 16 2012 10:16:07 for OpenNI 1.5.4 by 1.7.5.1