XnModuleMapGeneratorInterface Struct Reference
#include <XnModuleInterface.h>
List of all members.
Member Data Documentation
Gets the number of bytes per pixel
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
Gets the current output mode.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
| pOutputMode | [out] Current output mode. |
Gets a list of all supported modes. The size of the array that should be passed can be obtained by calling GetSupportedMapOutputModesCount().
- Parameters:
-
| 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. |
Gets the number of supported modes. This is useful for allocating an array that will be passed to GetSupportedMapOutputModes().
- Parameters:
-
| hInstance | [in] A handle to the instance. |
Contains the generator interface.
Registers a callback function to mode changes.
- Parameters:
-
| hGenerator | [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 UnregisterFromMapOutputModeChange. |
Sets the output mode.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
| pOutputMode | [in] The output mode to be set. |
Unregisters a callback function which was registered using RegisterToMapOutputModeChange.
- Parameters:
-
| hGenerator | [in] A handle to the instance. |
| hCallback | [in] The handle to the callback returned from RegisterToMapOutputModeChange. |
The documentation for this struct was generated from the following file: