OpenNI 1.3.2
|
#include <XnCppWrapper.h>
Static Public Member Functions | |
static void | FreeLicensesList (XnLicense aLicenses[]) |
Represents an OpenNI context object.
|
inline |
Ctor.
|
inline |
Ctor
pContext | [in] Underlying C object |
|
inline |
Copy Ctor
other | [in] Another context. Note that the context will only be destroyed when The original object is destroyed. |
|
inline |
Dtor.
For full details and usage, see xnAddLicense
|
inline |
Adds a reference to the context object. For full details and usage, see xnContextAddRef
|
inline |
For full details and usage, see xnAutoEnumerateOverSingleInput
|
inline |
Enumerates for production trees for a specific node type, and creates the first found tree. This function is a shortcut version for using xnEnumerateProductionTrees(), iterating the list, and then calling xnCreateProductionTree(). For full details and usage, see xnCreateAnyProductionTree
|
inline |
For full details and usage, see xnCreateCodec
|
inline |
Creates a production node which is only a mock. This node does not represent an actual node, but only keeps a state and implements an interface above it. Mock nodes are useful when simulating nodes for playing recordings, or for use in tests. See also xnCreateMockNodeBasedOn(). For full details and usage, see xnCreateMockNode
|
inline |
Creates a production node which is only a mock, base on the type and properties of another node. This node does not represent an actual node, but only keeps a state and implements an interface above it. Mock nodes are useful when simulating nodes for playing recordings, or for use in tests. See also xnCreateMockNode(). For full details and usage, see xnCreateMockNodeBasedOn
Creates a production node. If the tree specifies additional needed nodes, and those nodes do not exist, they will be created too, and passed to this node as input. For full details and usage, see xnCreateProductionTree
|
inline |
Creates a production node. If the tree specifies additional needed nodes, and those nodes do not exist, they will be created too, and passed to this node as input. For full details and usage, see xnCreateProductionTree
|
inline |
Gets a list of all existing node in the context. Each node that was returned increases its ref count. The list must be freed using xnNodeInfoListFree(). For full details and usage, see xnEnumerateExistingNodes
|
inline |
Gets a list of all existing node in the context. Each node that was returned increases its ref count. The list must be freed using xnNodeInfoListFree(). For full details and usage, see xnEnumerateExistingNodesByType
For full details and usage, see xnEnumerateLicenses
|
inline |
Enumerates all available production trees for a specific node type. The trees populated in the list should be freed by calling xnNodeInfoListFree() once not needed. For full details and usage, see xnEnumerateProductionTrees
|
inline |
For full details and usage, see xnFindExistingNodeByType
|
inlinestatic |
For full details and usage, see xnFreeLicensesList
|
inline |
Gets the global error state of the context. If one of the nodes in the context is in error state, that state will be returned. If more than one node is in error state, XN_STATUS_MULTIPLE_NODES_ERROR is returned. An application can query each node error state by calling xnGetNodeErrorState(). For full details and usage, see xnGetGlobalErrorState
|
inline |
Gets the global mirror flag. For full details and usage, see xnGetGlobalMirror
|
inline |
For full details and usage, see xnGetNodeHandleByName
|
inline |
For full details and usage, see xnGetNodeHandleByName
|
inline |
Gets the underlying C object.
|
inline |
Initializes the OpenNI library. For full details and usage, see xnInit
|
inline |
Initializes OpenNI context, and then configures it using the given file. NOTE: when using this function, the context will be the owner of the created nodes, so those nodes and the context will only be destroyed if calling xnShutdown(). It is highly suggested to use xnInitFromXmlFileEx() instead, which returns a node referencing created nodes, making the caller owner of those nodes. For full details and usage, see xnInitFromXmlFile
|
inline |
Initializes OpenNI context, and then configures it using the given file. NOTE: when using this function, the context will be the owner of the created nodes, so those nodes and the context will only be destroyed if calling xnShutdown(). It is highly suggested to use xnInitFromXmlFileEx() instead, which returns a node referencing created nodes, making the caller owner of those nodes. For full details and usage, see xnInitFromXmlFile
|
inline |
Opens a recording file, adding all nodes in it to the context. NOTE: when using this function, the context will be the owner of the created player node, so this nodes and the context will only be destroyed if calling xnShutdown(). It is highly suggested to use xnContextOpenFileRecordingEx() instead, which returns the player node, making the caller owner of this node. For full details and usage, see xnContextOpenFileRecording
|
inline |
Opens a recording file, adding all nodes in it to the context. NOTE: when using this function, the context will be the owner of the created player node, so this nodes and the context will only be destroyed if calling xnShutdown(). It is highly suggested to use xnContextOpenFileRecordingEx() instead, which returns the player node, making the caller owner of this node. For full details and usage, see xnContextOpenFileRecording
|
inline |
Registers a callback function to global error state changes. For full details and usage, see xnRegisterToGlobalErrorStateChange
|
inline |
Releases a context object, decreasing its ref count by 1. If reference count has reached 0, the context will be destroyed. For full details and usage, see xnContextRelease
|
inline |
Runs an XML script in the given context. NOTE: when using this function, the context will be the owner of the created nodes, so those nodes and the context will only be destroyed if calling xnShutdown(). It is highly suggested to use xnContextRunXmlScriptEx() instead, which returns a node referencing created nodes, making the caller owner of those nodes. For full details and usage, see xnContextRunXmlScript
|
inline |
Runs an XML script in the given context. NOTE: when using this function, the context will be the owner of the created nodes, so those nodes and the context will only be destroyed if calling xnShutdown(). It is highly suggested to use xnContextRunXmlScriptEx() instead, which returns a node referencing created nodes, making the caller owner of those nodes. For full details and usage, see xnContextRunXmlScript
|
inline |
Runs an XML script in the given context. NOTE: when using this function, the context will be the owner of the created nodes, so those nodes and the context will only be destroyed if calling xnShutdown(). It is highly suggested to use xnContextRunXmlScriptFromFileEx() instead, which returns a node referencing created nodes, making the caller owner of those nodes. For full details and usage, see xnContextRunXmlScriptFromFile
|
inline |
Runs an XML script in the given context. NOTE: when using this function, the context will be the owner of the created nodes, so those nodes and the context will only be destroyed if calling xnShutdown(). It is highly suggested to use xnContextRunXmlScriptFromFileEx() instead, which returns a node referencing created nodes, making the caller owner of those nodes. For full details and usage, see xnContextRunXmlScriptFromFile
|
inline |
Sets the global mirror flag. This will set all current existing nodes' mirror state, and also affect future created nodes. The default mirror flag is FALSE. For full details and usage, see xnSetGlobalMirror
|
inline |
Replaces the underlying C object pointed to by this object.
|
inline |
Shuts down an OpenNI context, destroying all its nodes. Do not call any function of this context or any correlated node after calling this method. NOTE: this function destroys the context and all the nodes it holds and so should be used very carefully. Normally you should just call xnContextRelease() For full details and usage, see xnShutdown
|
inline |
Make sure all generators are generating data. For full details and usage, see xnStartGeneratingAll
|
inline |
Stop all generators from generating data. For full details and usage, see xnStopGeneratingAll
|
inline |
|
inline |
Unregisters a callback function which was registered using xnRegisterToGlobalErrorStateChange(). For full details and usage, see xnUnregisterFromGlobalErrorStateChange
|
inline |
Updates all generators nodes in the context, waiting for all to have new data. For full details and usage, see xnWaitAndUpdateAll
|
inline |
Updates all generators nodes in the context, once any of them have new data. For full details and usage, see xnWaitAnyUpdateAll
|
inline |
Updates all generator nodes in the context, without any waiting. If a node has new data, it will be updated. For full details and usage, see xnWaitNoneUpdateAll
|
inline |
Updates all generators nodes in the context, waiting for a specific one to have new data. For full details and usage, see xnWaitOneUpdateAll