OpenNI 1.5.4
|
XnModuleImageGeneratorInterface Struct Reference
#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) |
Detailed Description
Image generator Interface.
Member Data Documentation
XnUInt8*(* XnModuleImageGeneratorInterface::GetImageMap)(XnModuleNodeHandle hGenerator) |
Gets the current image-map. This map is updated after a call to WaitAndUpdateData().
Gets current pixel format.
- Parameters:
-
hGenerator [in] A handle to the instance.
XnBool(* XnModuleImageGeneratorInterface::IsPixelFormatSupported)(XnModuleNodeHandle hGenerator, XnPixelFormat Format) |
Checks if a specific pixel format is supported.
- Parameters:
-
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.
- Parameters:
-
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.
- Parameters:
-
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.
- Parameters:
-
hGenerator [in] A handle to the instance. hCallback [in] The handle to the callback returned from xnRegisterToPixelFormatChange.
The documentation for this struct was generated from the following file:
Generated on Wed May 16 2012 10:16:06 for OpenNI 1.5.4 by 1.7.5.1