OpenNI 1.5.4: xn::MockIRGenerator Class Reference

OpenNI

xn::MockIRGenerator Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::MockIRGenerator:

List of all members.

Public Member Functions

 MockIRGenerator (XnNodeHandle hNode=NULL)
 MockIRGenerator (const NodeWrapper &other)
XnStatus Create (Context &context, const XnChar *strName=NULL)
XnStatus CreateBasedOn (IRGenerator &other, const XnChar *strName=NULL)
XnStatus SetData (XnUInt32 nFrameID, XnUInt64 nTimestamp, XnUInt32 nDataSize, const XnIRPixel *pIRMap)
XnStatus SetData (const IRMetaData &irMD, XnUInt32 nFrameID, XnUInt64 nTimestamp)
XnStatus SetData (const IRMetaData &irMD)

Detailed Description

Represents a mock IR generator


Constructor & Destructor Documentation

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

Ctor

Parameters:
[in]hNodeNode handle
xn::MockIRGenerator::MockIRGenerator ( const NodeWrapper other) [inline]

Member Function Documentation

XnStatus xn::MockIRGenerator::Create ( Context context,
const XnChar *  strName = NULL 
) [inline]

Creates a mock IR generator

Parameters:
[in]contextThe context in which the node should be generated
[in]strNameOptional. The name of the new node.
XnStatus xn::MockIRGenerator::CreateBasedOn ( IRGenerator other,
const XnChar *  strName = NULL 
) [inline]

Creates a mock IR generator, copying the initial state from another IR generator.

Parameters:
[in]otherThe IR generator to copy state from
[in]strNameOptional. The name of the new node.
XnStatus xn::MockIRGenerator::SetData ( XnUInt32  nFrameID,
XnUInt64  nTimestamp,
XnUInt32  nDataSize,
const XnIRPixel pIRMap 
) [inline]
For full details and usage, see xnMockIRSetData
XnStatus xn::MockIRGenerator::SetData ( const IRMetaData irMD,
XnUInt32  nFrameID,
XnUInt64  nTimestamp 
) [inline]

Sets the data of the mock node from a meta data object, overriding frame ID and timestamp

Parameters:
[in]irMDObject to take data from
[in]nFrameIDFrame ID
[in]nTimestampTimestamp
XnStatus xn::MockIRGenerator::SetData ( const IRMetaData irMD) [inline]

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

Parameters:
[in]irMDObject 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   doxygen 1.7.5.1