OpenNI 1.5.7
Public Attributes | List of all members
XnModuleCroppingInterface Struct Reference

#include <XnModuleInterface.h>

Public Attributes

XnStatus(* SetCropping )(XnModuleNodeHandle hGenerator, const XnCropping *pCropping)
 
XnStatus(* GetCropping )(XnModuleNodeHandle hGenerator, XnCropping *pCropping)
 
XnModuleNodeHandle hGenerator
 
XnModuleNodeHandle
XnModuleStateChangedHandler 
handler
 
XnModuleNodeHandle
XnModuleStateChangedHandler
void * 
pCookie
 
XnModuleNodeHandle
XnModuleStateChangedHandler
void XnCallbackHandle
phCallback
 
XnModuleNodeHandle XnCallbackHandle hCallback
 

Member Data Documentation

XnStatus(* XnModuleCroppingInterface::GetCropping)(XnModuleNodeHandle hGenerator, XnCropping *pCropping)

Gets current cropping configuration.

Parameters
hGenerator[in] A handle to the instance.
pCropping[out] Current cropping configuration.
XnModuleNodeHandle XnModuleStateChangedHandler XnModuleCroppingInterface::handler
XnModuleNodeHandle XnCallbackHandle XnModuleCroppingInterface::hCallback
XnModuleNodeHandle XnModuleCroppingInterface::hGenerator

Registers a callback function to cropping changes.

Parameters
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().

Unregisters a callback function which was registered using RegisterToCroppingChange().

Parameters
hGenerator[in] A handle to the instance.
hCallback[in] The handle to the callback returned from RegisterToCroppingChange().
XnModuleNodeHandle XnModuleStateChangedHandler void* XnModuleCroppingInterface::pCookie
XnModuleNodeHandle XnModuleStateChangedHandler void XnCallbackHandle* XnModuleCroppingInterface::phCallback
XnStatus(* XnModuleCroppingInterface::SetCropping)(XnModuleNodeHandle hGenerator, const XnCropping *pCropping)

Sets the cropping.

Parameters
hGenerator[in] A handle to the instance.
pCropping[in] The cropping configuration to be set.

The documentation for this struct was generated from the following file: