#include <XnModuleInterface.h>
The interface of a generator.
Definition at line 458 of file XnModuleInterface.h.
XnModuleGeneratorInterface::void | ( | XN_CALLBACK_TYPE * | StopGenerating | ) |
Stops generation of the output.
hGenerator | [in] A handle to the instance to stop generating. |
XnModuleGeneratorInterface::void | ( | XN_CALLBACK_TYPE * | UnregisterFromGenerationRunningChange | ) |
Unregisters a callback function which was registered using RegisterToGenerationRunningChange().
hGenerator | [in] A handle to the instance. |
hCallback | [in] The handle to the callback returned from RegisterToGenerationRunningChange(). |
XnModuleGeneratorInterface::void | ( | XN_CALLBACK_TYPE * | UnregisterFromNewDataAvailable | ) |
Unregisters a callback function which was registered using RegisterToNewDataAvailable().
hGenerator | [in] A handle to the instance. |
hCallback | [in] The handle to the callback returned from RegisterToNewDataAvailable(). |
XnModuleGeneratorInterface::XnBool | ( | XN_CALLBACK_TYPE * | IsGenerating | ) |
Checks if the generator is currently generating.
hGenerator | [in] A handle to the instance. |
XnModuleGeneratorInterface::XnBool | ( | XN_CALLBACK_TYPE * | IsNewDataAvailable | ) |
Checks whether this node has new data (and so a call to xn::Generator::WaitAndUpdateData() will not block).
hGenerator | [in] A handle to the instance to be updated. |
pnTimestamp | [out] If new data is available, the timestamp of that data. |
XnModuleGeneratorInterface::XnStatus | ( | XN_CALLBACK_TYPE * | StartGenerating | ) |
Starts generation of the output.
hGenerator | [in] A handle to the instance to start generating. |
XnModuleGeneratorInterface::XnStatus | ( | XN_CALLBACK_TYPE * | RegisterToGenerationRunningChange | ) |
Registers a callback function to be called when generation starts or stops.
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(). |
XnModuleGeneratorInterface::XnStatus | ( | XN_CALLBACK_TYPE * | RegisterToNewDataAvailable | ) |
Registers a callback function to be called when new data is available.
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(). |
XnModuleGeneratorInterface::XnStatus | ( | XN_CALLBACK_TYPE * | UpdateData | ) |
Updates the data to the latest available one. This function will only be called AFTER the node notified OpenNI it has new data available.
hGenerator | [in] A handle to the instance to be updated. |
XnModuleGeneratorInterface::XnUInt32 | ( | XN_CALLBACK_TYPE * | GetDataSize | ) |
Gets the size of current data, in bytes.
hGenerator | [in] A handle to the instance. |
XnModuleGeneratorInterface::XnUInt32 | ( | XN_CALLBACK_TYPE * | GetFrameID | ) |
Gets the frame ID of current data.
hGenerator | [in] A handle to the instance. |
XnModuleGeneratorInterface::XnUInt64 | ( | XN_CALLBACK_TYPE * | GetTimestamp | ) |
Gets the timestamp of current data, in microseconds.
hGenerator | [in] A handle to the instance. |
Definition at line 498 of file XnModuleInterface.h.
Definition at line 508 of file XnModuleInterface.h.
Definition at line 570 of file XnModuleInterface.h.
Definition at line 498 of file XnModuleInterface.h.
Definition at line 572 of file XnModuleInterface.h.
Definition at line 498 of file XnModuleInterface.h.
Definition at line 569 of file XnModuleInterface.h.
Definition at line 537 of file XnModuleInterface.h.
Contains production node interface.
Definition at line 463 of file XnModuleInterface.h.
Definition at line 571 of file XnModuleInterface.h.