![]() |
OpenNI 1.5.2
|
#include <XnModuleInterface.h>
Public Attributes | |
| XnStatus(* | SetCropping )(XnModuleNodeHandle hGenerator, const XnCropping *pCropping) |
| XnStatus(* | GetCropping )(XnModuleNodeHandle hGenerator, XnCropping *pCropping) |
| XnStatus(* | RegisterToCroppingChange )(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
| void(* | UnregisterFromCroppingChange )(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback) |
| XnStatus(* XnModuleCroppingInterface::GetCropping)(XnModuleNodeHandle hGenerator, XnCropping *pCropping) |
Gets current cropping configuration.
| hGenerator | [in] A handle to the instance. |
| pCropping | [out] Current cropping configuration. |
| XnStatus(* XnModuleCroppingInterface::RegisterToCroppingChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
Registers a callback function to cropping changes.
| hGenerator | [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 UnregisterFromCroppingChange(). |
| XnStatus(* XnModuleCroppingInterface::SetCropping)(XnModuleNodeHandle hGenerator, const XnCropping *pCropping) |
Sets the cropping.
| hGenerator | [in] A handle to the instance. |
| pCropping | [in] The cropping configuration to be set. |
| void(* XnModuleCroppingInterface::UnregisterFromCroppingChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback) |
Unregisters a callback function which was registered using RegisterToCroppingChange().
| hGenerator | [in] A handle to the instance. |
| hCallback | [in] The handle to the callback returned from RegisterToCroppingChange(). |
1.7.6.1