OpenNI 1.0.0

Production Node Info

Functions

XN_C_API XnStatus xnNodeInfoSetInstanceName (XnNodeInfo *pNodeInfo, const XnChar *strInstanceName)
XN_C_API const
XnProductionNodeDescription
xnNodeInfoGetDescription (XnNodeInfo *pNodeInfo)
XN_C_API XnStatus xnNodeInfoGetTreeStringRepresentation (XnNodeInfo *pNodeInfo, XnChar *csResult, XnUInt32 nSize)
XN_C_API const XnChar * xnNodeInfoGetInstanceName (XnNodeInfo *pNodeInfo)
XN_C_API const XnChar * xnNodeInfoGetCreationInfo (XnNodeInfo *pNodeInfo)
XN_C_API XnNodeInfoListxnNodeInfoGetNeededNodes (XnNodeInfo *pNodeInfo)
XN_C_API XnNodeHandle xnNodeInfoGetHandle (XnNodeInfo *pNodeInfo)

Detailed Description

This page describes the functionality of a production node info object. Each info object can represent a possible production node, or an existing one.


Function Documentation

XN_C_API const XnChar* xnNodeInfoGetCreationInfo ( XnNodeInfo pNodeInfo)

Gets the creation info of the production node.

Parameters:
pNodeInfo[in] A production node info object.
XN_C_API const XnProductionNodeDescription* xnNodeInfoGetDescription ( XnNodeInfo pNodeInfo)

Gets the description of the production node.

Parameters:
pNodeInfo[in] A production node info object.
XN_C_API XnNodeHandle xnNodeInfoGetHandle ( XnNodeInfo pNodeInfo)

Gets the handle of the production node. For nodes that weren't created yet, NULL is returned.

Parameters:
pNodeInfo[in] A production node info object.
XN_C_API const XnChar* xnNodeInfoGetInstanceName ( XnNodeInfo pNodeInfo)

Gets the instance name of the production node.

Parameters:
pNodeInfo[in] A production node info object.
XN_C_API XnNodeInfoList* xnNodeInfoGetNeededNodes ( XnNodeInfo pNodeInfo)

Gets the list of needed nodes of the production node.

Parameters:
pNodeInfo[in] A production node info object.
XN_C_API XnStatus xnNodeInfoGetTreeStringRepresentation ( XnNodeInfo pNodeInfo,
XnChar *  csResult,
XnUInt32  nSize 
)
XN_C_API XnStatus xnNodeInfoSetInstanceName ( XnNodeInfo pNodeInfo,
const XnChar *  strInstanceName 
)

Sets the instance name of the node info object. The name can only be set BEFORE the instance is created.

Parameters:
pNodeInfo[in] A production node info object.
strInstanceName[in] The name to give to this instance.