XnUtils.h File Reference
`#include <XnTypes.h>`
`#include <XnModuleInterface.h>`

Go to the source code of this file.

## Functions

General
XN_C_API XnStatus XN_C_DECL | xnGetVersion (XnVersion *pVersion)
ProductionNodeType Utils
XN_C_API const XnChar *XN_C_DECL | xnProductionNodeTypeToString (XnProductionNodeType Type)
XN_C_API XnStatus XN_C_DECL | xnProductionNodeTypeFromString (const XnChar *strType, XnProductionNodeType *pType)
XN_C_API XnBool XN_C_DECL | xnIsTypeGenerator (XnProductionNodeType type)
XN_C_API XnBool XN_C_DECL | xnIsTypeDerivedFrom (XnProductionNodeType type, XnProductionNodeType base)
PixelFormat Utils
XN_C_API const XnChar *XN_C_DECL | xnPixelFormatToString (XnPixelFormat format)
XN_C_API XnStatus XN_C_DECL | xnPixelFormatFromString (const XnChar *strName, XnPixelFormat *pFormat)
XN_C_API XnUInt32 XN_C_DECL | xnGetBytesPerPixelForPixelFormat (XnPixelFormat format)
Resolution Utilities
XN_C_API XnUInt32 XN_C_DECL | xnResolutionGetXRes (XnResolution resolution)
XN_C_API XnUInt32 XN_C_DECL | xnResolutionGetYRes (XnResolution resolution)
XN_C_API XnResolution XN_C_DECL | xnResolutionGetFromXYRes (XnUInt32 xRes, XnUInt32 yRes)
XN_C_API XnResolution XN_C_DECL | xnResolutionGetFromName (const XnChar *strName)
XN_C_API const XnChar *XN_C_DECL | xnResolutionGetName (XnResolution resolution)
XnVersion Utilities
XN_C_API XnInt32 XN_C_DECL | xnVersionCompare (const XnVersion *pVersion1, const XnVersion *pVersion2)
XN_C_API XnStatus XN_C_DECL | xnVersionToString (const XnVersion *pVersion, XnChar *csResult, XnUInt32 nSize)
XnProductionNodeDescription Utilities
XN_C_API XnStatus XN_C_DECL | xnProductionNodeDescriptionToString (const XnProductionNodeDescription *pDescription, XnChar *csResult, XnUInt32 nSize)
C Style Constructors
XN_C_API XnPoint3D XN_C_DECL | xnCreatePoint3D (XnFloat x, XnFloat y, XnFloat z)
XN_C_API XnPlane3D XN_C_DECL | xnCreatePlane3D (XnPoint3D ptPoint, XnVector3D vNormal)
Modules Registry Management
XN_C_API XnStatus XN_C_DECL | xnRegisterModule (const XnChar *strModule, const XnChar *strConfigDir)
XN_C_API XnStatus XN_C_DECL | xnUnregisterModule (const XnChar *strModule)
XN_C_API XnStatus XN_C_DECL | xnPrintRegisteredModules ()
Global Licenses Registry Management
XN_C_API XnStatus XN_C_DECL | xnRegisterGlobalLicense (XnLicense *pLicense)
XN_C_API XnStatus XN_C_DECL | xnUnregisterGlobalLicense (XnLicense *pLicense)
XN_C_API XnStatus XN_C_DECL | xnPrintRegisteredLicenses ()
MetaData Objects Management
XN_C_API XnOutputMetaData *XN_C_DECL | xnAllocateOutputMetaData ()
XN_C_API void XN_C_DECL | xnFreeOutputMetaData (const XnOutputMetaData *pMetaData)
XN_C_API XnStatus XN_C_DECL | xnCopyOutputMetaData (XnOutputMetaData *pDestination, const XnOutputMetaData *pSource)
XN_C_API XnMapMetaData *XN_C_DECL | xnAllocateMapMetaData ()
XN_C_API void XN_C_DECL | xnFreeMapMetaData (const XnMapMetaData *pMetaData)
XN_C_API XnStatus XN_C_DECL | xnCopyMapMetaData (XnMapMetaData *pDestination, const XnMapMetaData *pSource)
XN_C_API XnDepthMetaData *XN_C_DECL | xnAllocateDepthMetaData ()
XN_C_API void XN_C_DECL | xnFreeDepthMetaData (const XnDepthMetaData *pMetaData)
XN_C_API XnStatus XN_C_DECL | xnCopyDepthMetaData (XnDepthMetaData *pDestination, const XnDepthMetaData *pSource)
XN_C_API XnImageMetaData *XN_C_DECL | xnAllocateImageMetaData ()
XN_C_API void XN_C_DECL | xnFreeImageMetaData (const XnImageMetaData *pMetaData)
XN_C_API XnStatus XN_C_DECL | xnCopyImageMetaData (XnImageMetaData *pDestination, const XnImageMetaData *pSource)
XN_C_API XnIRMetaData *XN_C_DECL | xnAllocateIRMetaData ()
XN_C_API void XN_C_DECL | xnFreeIRMetaData (const XnIRMetaData *pMetaData)
XN_C_API XnStatus XN_C_DECL | xnCopyIRMetaData (XnIRMetaData *pDestination, const XnIRMetaData *pSource)
XN_C_API XnAudioMetaData *XN_C_DECL | xnAllocateAudioMetaData ()
XN_C_API void XN_C_DECL | xnFreeAudioMetaData (const XnAudioMetaData *pMetaData)
XN_C_API XnStatus XN_C_DECL | xnCopyAudioMetaData (XnAudioMetaData *pDestination, const XnAudioMetaData *pSource)
XN_C_API XnSceneMetaData *XN_C_DECL | xnAllocateSceneMetaData ()
XN_C_API void XN_C_DECL | xnFreeSceneMetaData (const XnSceneMetaData *pMetaData)
XN_C_API XnStatus XN_C_DECL | xnCopySceneMetaData (XnSceneMetaData *pDestination, const XnSceneMetaData *pSource)
Functions for Modules Implementors
XN_C_API XnStatus XN_C_DECL | xnAutoEnumerateOverSingleInput (XnContext *pContext, XnNodeInfoList *pList, XnProductionNodeDescription *pDescription, const XnChar *strCreationInfo, XnProductionNodeType InputType, XnEnumerationErrors *pErrors, XnNodeQuery *pQuery)
XN_C_API XnStatus XN_C_DECL | xnRegisterExtensionNode (const XnChar *strTypeName, XnProductionNodeType baseType, XnProductionNodeType *pTypeID)
XN_C_API XnModuleNodeHandle XN_C_DECL | xnGetModuleNodeHandle (XnNodeHandle hNode)
XN_C_API XnStatus XN_C_DECL | xnRegisterModuleWithOpenNI (XnOpenNIModuleInterface *pInterface, const XnChar *strConfigDir, const XnChar *strName)