![]() |
OpenNI 1.5.4
|
Functions | |
| XN_C_API XnStatus XN_C_DECL | xnSetMirror (XnNodeHandle hInstance, XnBool bMirror) |
| XN_C_API XnBool XN_C_DECL | xnIsMirrored (XnNodeHandle hInstance) |
| XN_C_API XnStatus XN_C_DECL | xnRegisterToMirrorChange (XnNodeHandle hInstance, XnStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
| XN_C_API void XN_C_DECL | xnUnregisterFromMirrorChange (XnNodeHandle hInstance, XnCallbackHandle hCallback) |
| XN_C_API XnBool XN_C_DECL xnIsMirrored | ( | XnNodeHandle | hInstance | ) |
Gets current mirroring configuration.
| hInstance | [in] A handle to the instance. |
| XN_C_API XnStatus XN_C_DECL xnRegisterToMirrorChange | ( | XnNodeHandle | hInstance, |
| XnStateChangedHandler | handler, | ||
| void * | pCookie, | ||
| XnCallbackHandle * | phCallback | ||
| ) |
Registers a callback function to mirror changes.
| hInstance | [in] A handle to the instance. |
| handler | [in] A pointer to a function that will be called when mirror changes. |
| 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 xnUnregisterFromMirrorChange(). |
| XN_C_API XnStatus XN_C_DECL xnSetMirror | ( | XnNodeHandle | hInstance, |
| XnBool | bMirror | ||
| ) |
Sets current mirror configuration.
| hInstance | [in] A handle to the instance. |
| bMirror | [in] TRUE for mirroring output, FALSE otherwise. |
| XN_C_API void XN_C_DECL xnUnregisterFromMirrorChange | ( | XnNodeHandle | hInstance, |
| XnCallbackHandle | hCallback | ||
| ) |
Unregisters a callback function which was registered using xnRegisterToMirrorChange().
| hInstance | [in] A handle to the instance. |
| hCallback | [in] The handle to the callback returned from xnRegisterToMirrorChange(). |