OpenNI 1.5.4: XnContext.h File Reference

OpenNI

XnContext.h File Reference
#include <XnTypes.h> #include <XnQueries.h>
#include <XnPrdNodeInfoList.h>

Go to the source code of this file.

Functions

Initialization

Functions for initializing and shutting down an OpenNI context.

XN_C_API XnStatus XN_C_DECL xnInit (XnContext **ppContext)
XN_C_API XnStatus XN_C_DECL xnContextRunXmlScriptFromFileEx (XnContext *pContext, const XnChar *strFileName, XnEnumerationErrors *pErrors, XnNodeHandle *phScriptNode)
XN_C_API XnStatus xnContextRunXmlScriptFromFile (XnContext *pContext, const XnChar *strFileName, XnEnumerationErrors *pErrors)
XN_C_API XnStatus XN_C_DECL xnContextRunXmlScriptEx (XnContext *pContext, const XnChar *xmlScript, XnEnumerationErrors *pErrors, XnNodeHandle *phScriptNode)
XN_C_API XnStatus XN_C_DECL xnContextRunXmlScript (XnContext *pContext, const XnChar *xmlScript, XnEnumerationErrors *pErrors)
XN_C_API XnStatus XN_C_DECL xnInitFromXmlFileEx (const XnChar *strFileName, XnContext **ppContext, XnEnumerationErrors *pErrors, XnNodeHandle *phScriptNode)
XN_C_API XnStatus XN_C_DECL xnInitFromXmlFile (const XnChar *strFileName, XnContext **ppContext, XnEnumerationErrors *pErrors)
XN_C_API XnStatus XN_C_DECL xnContextOpenFileRecordingEx (XnContext *pContext, const XnChar *strFileName, XnNodeHandle *phPlayerNode)
XN_C_API XnStatus XN_C_DECL xnContextOpenFileRecording (XnContext *pContext, const XnChar *strFileName)
XN_C_API XnStatus XN_C_DECL xnContextAddRef (XnContext *pContext)
XN_C_API void XN_C_DECL xnContextRelease (XnContext *pContext)
XN_C_API void XN_C_DECL xnShutdown (XnContext *pContext)
XN_C_API void XN_C_DECL xnForceShutdown (XnContext *pContext)
XN_C_API XnStatus XN_C_DECL xnContextRegisterForShutdown (XnContext *pContext, XnContextShuttingDownHandler pHandler, void *pCookie, XnCallbackHandle *phCallback)
XN_C_API void XN_C_DECL xnContextUnregisterFromShutdown (XnContext *pContext, XnCallbackHandle hCallback)
Enumeration

Functions for enumeration and creation of nodes.

XN_C_API XnStatus XN_C_DECL xnEnumerateProductionTrees (XnContext *pContext, XnProductionNodeType Type, const XnNodeQuery *pQuery, XnNodeInfoList **ppTreesList, XnEnumerationErrors *pErrors)
XN_C_API XnStatus XN_C_DECL xnCreateProductionTree (XnContext *pContext, XnNodeInfo *pTree, XnNodeHandle *phNode)
XN_C_API XnStatus XN_C_DECL xnCreateAnyProductionTree (XnContext *pContext, XnProductionNodeType type, XnNodeQuery *pQuery, XnNodeHandle *phNode, XnEnumerationErrors *pErrors)
XN_C_API XnStatus XN_C_DECL xnCreateMockNode (XnContext *pContext, XnProductionNodeType type, const XnChar *strName, XnNodeHandle *phNode)
XN_C_API XnStatus XN_C_DECL xnCreateMockNodeBasedOn (XnContext *pContext, XnNodeHandle hOriginalNode, const XnChar *strName, XnNodeHandle *phMockNode)
XN_C_API XnStatus XN_C_DECL xnProductionNodeAddRef (XnNodeHandle hNode)
XN_C_API XnStatus XN_C_DECL xnRefProductionNode (XnNodeHandle hNode)
XN_C_API void XN_C_DECL xnProductionNodeRelease (XnNodeHandle hNode)
XN_C_API void XN_C_DECL xnUnrefProductionNode (XnNodeHandle hNode)
XN_C_API XnStatus XN_C_DECL xnEnumerateExistingNodes (XnContext *pContext, XnNodeInfoList **ppList)
XN_C_API XnStatus XN_C_DECL xnEnumerateExistingNodesByType (XnContext *pContext, XnProductionNodeType type, XnNodeInfoList **ppList)
XN_C_API XnStatus XN_C_DECL xnFindExistingRefNodeByType (XnContext *pContext, XnProductionNodeType type, XnNodeHandle *phNode)
XN_C_API XnStatus XN_C_DECL xnFindExistingNodeByType (XnContext *pContext, XnProductionNodeType type, XnNodeHandle *phNode)
XN_C_API XnStatus XN_C_DECL xnGetRefNodeHandleByName (XnContext *pContext, const XnChar *strInstanceName, XnNodeHandle *phNode)
XN_C_API XnStatus XN_C_DECL xnGetNodeHandleByName (XnContext *pContext, const XnChar *strInstanceName, XnNodeHandle *phNode)
Multi-Node Handling

Functions that affect all the nodes in the context.

XN_C_API XnStatus XN_C_DECL xnWaitAndUpdateAll (XnContext *pContext)
XN_C_API XnStatus XN_C_DECL xnWaitOneUpdateAll (XnContext *pContext, XnNodeHandle hNode)
XN_C_API XnStatus XN_C_DECL xnWaitAnyUpdateAll (XnContext *pContext)
XN_C_API XnStatus XN_C_DECL xnWaitNoneUpdateAll (XnContext *pContext)
XN_C_API XnStatus XN_C_DECL xnStartGeneratingAll (XnContext *pContext)
XN_C_API XnStatus XN_C_DECL xnStopGeneratingAll (XnContext *pContext)
XN_C_API XnStatus XN_C_DECL xnSetGlobalMirror (XnContext *pContext, XnBool bMirror)
XN_C_API XnBool XN_C_DECL xnGetGlobalMirror (XnContext *pContext)
XN_C_API XnStatus XN_C_DECL xnGetGlobalErrorState (XnContext *pContext)
XN_C_API XnStatus XN_C_DECL xnRegisterToGlobalErrorStateChange (XnContext *pContext, XnErrorStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback)
XN_C_API void XN_C_DECL xnUnregisterFromGlobalErrorStateChange (XnContext *pContext, XnCallbackHandle hCallback)
XN_C_API XnStatus XN_C_DECL xnRegisterToNodeCreation (XnContext *pContext, XnNodeCreationHandler handler, void *pCookie, XnCallbackHandle *phCallback)
XN_C_API void XN_C_DECL xnUnregisterFromNodeCreation (XnContext *pContext, XnCallbackHandle hCallback)
XN_C_API XnStatus XN_C_DECL xnRegisterToNodeDestruction (XnContext *pContext, XnNodeDestructionHandler handler, void *pCookie, XnCallbackHandle *phCallback)
XN_C_API void XN_C_DECL xnUnregisterFromNodeDestruction (XnContext *pContext, XnCallbackHandle hCallback)
Generated on Wed May 16 2012 10:16:05 for OpenNI 1.5.4 by   doxygen 1.7.5.1