#include <XnModuleInterface.h>
List of all members.
Detailed Description
The interface of a generator.
Member Data Documentation
Gets pointer to current data.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
Gets the size of current data, in bytes.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
Gets the frame ID of current data.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
Gets the timestamp of current data, in microseconds.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
Checks if the generator is currently generating.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
Checks whether this node has new data (and so a call to xn::Generator::WaitAndUpdateData() will not block).
- Parameters:
-
| hGenerator | [in] A handle to the instance to be updated. |
| pnTimestamp | [out] If new data is available, the timestamp of that data. |
Contains production node interface.
Registers a callback function to be called when generation starts or stops.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
| handler | [in] A pointer to a function that will be called when generation starts/stops. |
| pCookie | [in] A user cookie that will be passed to the callback function. |
| phCallback | [out] Optional. Will be filled with a handle to be passed to UnregisterFromGenerationRunningChange(). |
Registers a callback function to be called when new data is available.
- Parameters:
-
| handler | [in] A pointer to a function that will be called when new data is available. |
| pCookie | [in] A user cookie that will be passed to the callback function. |
| phCallback | [out] Optional. Will be filled with a handle to be passed to UnregisterFromNewDataAvailable(). |
Starts generation of the output.
- Parameters:
-
| hGenerator | [in] A handle to the instance to start generating. |
Stops generation of the output.
- Parameters:
-
| hGenerator | [in] A handle to the instance to stop generating. |
Updates the data to the latest available one. This function will only be called AFTER the node notified OpenNI it has new data available.
- Parameters:
-
| hGenerator | [in] A handle to the instance to be updated. |
The documentation for this struct was generated from the following file: