![]() |
OpenNI 1.5.4
|
Modules | |
| Cropping Capability | |
| Anti Flicker Capability | |
Functions | |
| XN_C_API XnUInt32 XN_C_DECL | xnGetSupportedMapOutputModesCount (XnNodeHandle hInstance) |
| XN_C_API XnStatus XN_C_DECL | xnGetSupportedMapOutputModes (XnNodeHandle hInstance, XnMapOutputMode *aModes, XnUInt32 *pnCount) |
| XN_C_API XnStatus XN_C_DECL | xnSetMapOutputMode (XnNodeHandle hInstance, const XnMapOutputMode *pOutputMode) |
| XN_C_API XnStatus XN_C_DECL | xnGetMapOutputMode (XnNodeHandle hInstance, XnMapOutputMode *pOutputMode) |
| XN_C_API XnStatus XN_C_DECL | xnRegisterToMapOutputModeChange (XnNodeHandle hInstance, XnStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
| XN_C_API void XN_C_DECL | xnUnregisterFromMapOutputModeChange (XnNodeHandle hInstance, XnCallbackHandle hCallback) |
| XN_C_API XnUInt32 XN_C_DECL | xnGetBytesPerPixel (XnNodeHandle hInstance) |
| XN_C_API XnUInt32 XN_C_DECL xnGetBytesPerPixel | ( | XnNodeHandle | hInstance | ) |
Gets the number of bytes per pixel for this map generator.
| hInstance | [in] A handle to the instance. |
| XN_C_API XnStatus XN_C_DECL xnGetMapOutputMode | ( | XnNodeHandle | hInstance, |
| XnMapOutputMode * | pOutputMode | ||
| ) |
Gets the current output mode.
| hInstance | [in] A handle to the instance. |
| pOutputMode | [out] Current output mode. |
| XN_C_API XnStatus XN_C_DECL xnGetSupportedMapOutputModes | ( | XnNodeHandle | hInstance, |
| XnMapOutputMode * | aModes, | ||
| XnUInt32 * | pnCount | ||
| ) |
Gets a list of all supported modes. The size of the array that should be passed can be obtained by calling xnGetSupportedMapOutputModesCount().
| hInstance | [in] A handle to the instance. |
| aModes | [in/out] An array to be filled with supported modes. |
| pnCount | [in/out] In: number of elements allocated in the array. Out: number of elements actually written to the array. |
| XN_C_API XnUInt32 XN_C_DECL xnGetSupportedMapOutputModesCount | ( | XnNodeHandle | hInstance | ) |
Gets the number of supported modes. This is useful for allocating an array that will be passed to xnGetSupportedMapOutputModes().
| hInstance | [in] A handle to the instance. |
| XN_C_API XnStatus XN_C_DECL xnRegisterToMapOutputModeChange | ( | XnNodeHandle | hInstance, |
| XnStateChangedHandler | handler, | ||
| void * | pCookie, | ||
| XnCallbackHandle * | phCallback | ||
| ) |
Registers a callback function to mode changes.
| hInstance | [in] A handle to the instance. |
| handler | [in] A pointer to a function that will be called when mode 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 xnUnregisterFromMapOutputModeChange. |
| XN_C_API XnStatus XN_C_DECL xnSetMapOutputMode | ( | XnNodeHandle | hInstance, |
| const XnMapOutputMode * | pOutputMode | ||
| ) |
Sets the output mode.
| hInstance | [in] A handle to the instance. |
| pOutputMode | [in] The output mode to be set. |
| XN_C_API void XN_C_DECL xnUnregisterFromMapOutputModeChange | ( | XnNodeHandle | hInstance, |
| XnCallbackHandle | hCallback | ||
| ) |
Unregisters a callback function which was registered using xnRegisterToMapOutputModeChange.
| hInstance | [in] A handle to the instance. |
| hCallback | [in] The handle to the callback returned from xnRegisterToMapOutputModeChange. |