![]() |
OpenNI 1.5.4
|
Modules | |
| User Position Capability | |
| XN_C_API XnStatus XN_C_DECL xnConvertProjectiveToRealWorld | ( | XnNodeHandle | hInstance, |
| XnUInt32 | nCount, | ||
| const XnPoint3D * | aProjective, | ||
| XnPoint3D * | aRealWorld | ||
| ) |
Converts a list of points from projective coordinates to real world coordinates.
| hInstance | [in] A handle to the instance. |
| nCount | [in] The number of points to translate. |
| aProjective | [in] An array of projective coordinates points. |
| aRealWorld | [in/out] An array to be filled with real world coordinates points. |
| XN_C_API XnStatus XN_C_DECL xnConvertRealWorldToProjective | ( | XnNodeHandle | hInstance, |
| XnUInt32 | nCount, | ||
| const XnPoint3D * | aRealWorld, | ||
| XnPoint3D * | aProjective | ||
| ) |
Converts a list of points from projective coordinates to real world coordinates.
| hInstance | [in] A handle to the instance. |
| nCount | [in] The number of points to translate. |
| aRealWorld | [in] An array of real world coordinates points. |
| aProjective | [in/out] An array to be filled with projective coordinates points. |
| XN_C_API XnStatus XN_C_DECL xnCreateDepthGenerator | ( | XnContext * | pContext, |
| XnNodeHandle * | phDepthGenerator, | ||
| XnNodeQuery * | pQuery, | ||
| XnEnumerationErrors * | pErrors | ||
| ) |
Creates a depth generator.
| pContext | [in] The context in which to create the depth generator |
| phDepthGenerator | [out] A handle to the created depth generator |
| pQuery | [in] Optional. Can be used to select which depth generator to create. If not specified, this function may create any depth generator that is available. |
| pErrors | [in] Optional. If provided, will be filled with information about depth generators that could not be created. |
| XN_C_API XnStatus XN_C_DECL xnGetDepthFieldOfView | ( | XnNodeHandle | hInstance, |
| XnFieldOfView * | pFOV | ||
| ) |
Gets the Field-Of-View of the depth generator, in radians.
| hInstance | [in] A handle to the instance. |
| pFOV | [in] A struct to be filled with field of view. |
| XN_C_API XnDepthPixel* XN_C_DECL xnGetDepthMap | ( | XnNodeHandle | hInstance | ) |
Gets the current depth-map. This map is updated after a call to xnWaitAndUpdateData().
| hInstance | [in] A handle to the instance. |
| XN_C_API void XN_C_DECL xnGetDepthMetaData | ( | XnNodeHandle | hInstance, |
| XnDepthMetaData * | pMetaData | ||
| ) |
Gets the current depth-map meta data.
| hInstance | [in] A handle to the instance. |
| pMetaData | [in] The struct to be filled. |
| XN_C_API XnDepthPixel XN_C_DECL xnGetDeviceMaxDepth | ( | XnNodeHandle | hInstance | ) |
Gets the maximum depth the device can produce.
| hInstance | [in] A handle to the instance. |
| XN_C_API XnStatus XN_C_DECL xnRegisterToDepthFieldOfViewChange | ( | XnNodeHandle | hInstance, |
| XnStateChangedHandler | handler, | ||
| void * | pCookie, | ||
| XnCallbackHandle * | phCallback | ||
| ) |
Registers a callback function to field of view changes.
| hInstance | [in] A handle to the instance. |
| handler | [in] A pointer to a function that will be called when field of view 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 xnUnregisterFromDepthFieldOfViewChange. |
| XN_C_API void XN_C_DECL xnUnregisterFromDepthFieldOfViewChange | ( | XnNodeHandle | hInstance, |
| XnCallbackHandle | hCallback | ||
| ) |
Unregisters a callback function which was registered using xnRegisterToDepthFieldOfViewChange.
| hInstance | [in] A handle to the instance. |
| hCallback | [in] The handle to the callback returned from xnRegisterToDepthFieldOfViewChange. |