xn::MockImageGenerator Class Reference
[C++ Reference]

#include <XnCppWrapper.h>

Inheritance diagram for xn::MockImageGenerator:
[legend]

List of all members.

Public Member Functions

 MockImageGenerator (XnNodeHandle hNode=NULL)
 MockImageGenerator (const NodeWrapper &other)
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)

XnStatus Create (Context &context, const XnChar *strName=NULL)
XnStatus CreateBasedOn (ImageGenerator &other, const XnChar *strName=NULL)

Detailed Description

Represents a mock image generator


Constructor & Destructor Documentation

xn::MockImageGenerator::MockImageGenerator ( XnNodeHandle  hNode = NULL  )  [inline]

Ctor

Parameters:
hNode [in] 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:
context [in] The context in which the node should be generated
strName [in] 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:
other [in] The image generator to copy state from
strName [in] Optional. The name of the new node.
XnStatus xn::MockImageGenerator::SetData ( const ImageMetaData imageMD  )  [inline]

Sets the data of the mock node from a meta data object.

Parameters:
imageMD [in] Object to take data from
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:
imageMD [in] Object to take data from
nFrameID [in] Frame ID
nTimestamp [in] Timestamp
XnStatus xn::MockImageGenerator::SetData ( XnUInt32  nFrameID,
XnUInt64  nTimestamp,
XnUInt32  nDataSize,
const XnUInt8 *  pImageMap 
) [inline]

For full details and usage, see xnMockImageSetData


The documentation for this class was generated from the following file:
Generated on Fri Nov 9 22:59:10 2012 for OpenNI 1.3.2 by  doxygen 1.6.3