#include <XnModuleInterface.h>
Public Attributes | |
XnModuleMapGeneratorInterface * | pMapInterface |
XnUInt8 *(* | GetImageMap )(XnModuleNodeHandle hGenerator) |
XnBool(* | IsPixelFormatSupported )(XnModuleNodeHandle hGenerator, XnPixelFormat Format) |
XnStatus(* | SetPixelFormat )(XnModuleNodeHandle hGenerator, XnPixelFormat Format) |
XnPixelFormat(* | GetPixelFormat )(XnModuleNodeHandle hGenerator) |
XnStatus(* | RegisterToPixelFormatChange )(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
void(* | UnregisterFromPixelFormatChange )(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback) |
Image generator Interface.
XnUInt8*(* XnModuleImageGeneratorInterface::GetImageMap)(XnModuleNodeHandle hGenerator) |
Gets the current image-map. This map is updated after a call to WaitAndUpdateData().
Gets current pixel format.
hGenerator | [in] A handle to the instance. |
XnBool(* XnModuleImageGeneratorInterface::IsPixelFormatSupported)(XnModuleNodeHandle hGenerator, XnPixelFormat Format) |
Checks if a specific pixel format is supported.
hGenerator | [in] A handle to the instance. | |
Format | [in] The format to check for. |
Contains map generator interface.
XnStatus(* XnModuleImageGeneratorInterface::RegisterToPixelFormatChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
Registers a callback function to pixel format changes.
hGenerator | [in] A handle to the instance. | |
handler | [in] A pointer to a function that will be called when pixel format 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 xnUnregisterFromPixelFormatChange. |
XnStatus(* XnModuleImageGeneratorInterface::SetPixelFormat)(XnModuleNodeHandle hGenerator, XnPixelFormat Format) |
Sets the pixel format of the image map.
hGenerator | [in] A handle to the instance. | |
Format | [in] The format to set. |
void(* XnModuleImageGeneratorInterface::UnregisterFromPixelFormatChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback) |
Unregisters a callback function which was registered using xnRegisterToPixelFormatChange.
hGenerator | [in] A handle to the instance. | |
hCallback | [in] The handle to the callback returned from xnRegisterToPixelFormatChange. |