OpenNI 1.5.4: IR Generator

OpenNI

Functions

XN_C_API XnStatus XN_C_DECL xnCreateIRGenerator (XnContext *pContext, XnNodeHandle *phIRGenerator, XnNodeQuery *pQuery, XnEnumerationErrors *pErrors)
XN_C_API XnIRPixel *XN_C_DECL xnGetIRMap (XnNodeHandle hInstance)
XN_C_API void XN_C_DECL xnGetIRMetaData (XnNodeHandle hInstance, XnIRMetaData *pMetaData)

Detailed Description

An IR Generator node is a Map Generator that outputs infra-red maps. It supports all Map Generator functions, and adds additional functions.


Function Documentation

XN_C_API XnStatus XN_C_DECL xnCreateIRGenerator ( XnContext pContext,
XnNodeHandle phIRGenerator,
XnNodeQuery pQuery,
XnEnumerationErrors pErrors 
)

Creates an IR generator.

Parameters:
pContext[in] The context in which to create the IR generator.
phIRGenerator[out] A handle to the created IR generator.
pQuery[in] Optional. Can be used to select which IR generator to create. If not specified, this function may create any IR generator that is available.
pErrors[in] Optional. If provided, will be filled with information about IR generators that could not be created.
XN_C_API XnIRPixel* XN_C_DECL xnGetIRMap ( XnNodeHandle  hInstance)

Gets the current IR-map. This map is updated after a call to xnWaitAndUpdateData().

Parameters:
hInstance[in] A handle to the instance.
Returns:
NULL if this production node is not an IR generator.
XN_C_API void XN_C_DECL xnGetIRMetaData ( XnNodeHandle  hInstance,
XnIRMetaData pMetaData 
)

Gets the current IR-map meta data.

Parameters:
hInstance[in] A handle to the instance.
pMetaData[in] The struct to be filled.
Generated on Wed May 16 2012 10:16:06 for OpenNI 1.5.4 by   doxygen 1.7.5.1