![]() |
OpenNI 1.5.4
|
Functions | |
| XN_C_API XnStatus XN_C_DECL | xnSetCropping (XnNodeHandle hInstance, const XnCropping *pCropping) |
| XN_C_API XnStatus XN_C_DECL | xnGetCropping (XnNodeHandle hInstance, XnCropping *pCropping) |
| XN_C_API XnStatus XN_C_DECL | xnRegisterToCroppingChange (XnNodeHandle hInstance, XnStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
| XN_C_API void XN_C_DECL | xnUnregisterFromCroppingChange (XnNodeHandle hInstance, XnCallbackHandle hCallback) |
| XN_C_API XnStatus XN_C_DECL xnGetCropping | ( | XnNodeHandle | hInstance, |
| XnCropping * | pCropping | ||
| ) |
Gets current cropping configuration.
| hInstance | [in] A handle to the instance. |
| pCropping | [out] Current cropping configuration. |
| XN_C_API XnStatus XN_C_DECL xnRegisterToCroppingChange | ( | XnNodeHandle | hInstance, |
| XnStateChangedHandler | handler, | ||
| void * | pCookie, | ||
| XnCallbackHandle * | phCallback | ||
| ) |
Registers a callback function to cropping changes.
| hInstance | [in] A handle to the instance. |
| handler | [in] A pointer to a function that will be called when cropping 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 xnUnregisterFromCroppingChange(). |
| XN_C_API XnStatus XN_C_DECL xnSetCropping | ( | XnNodeHandle | hInstance, |
| const XnCropping * | pCropping | ||
| ) |
Sets the cropping.
| hInstance | [in] A handle to the instance. |
| pCropping | [in] The cropping configuration to be set. |
| XN_C_API void XN_C_DECL xnUnregisterFromCroppingChange | ( | XnNodeHandle | hInstance, |
| XnCallbackHandle | hCallback | ||
| ) |
Unregisters a callback function which was registered using xnRegisterToCroppingChange().
| hInstance | [in] A handle to the instance. |
| hCallback | [in] The handle to the callback returned from xnRegisterToCroppingChange(). |