#include <XnModuleInterface.h>
|
| XnBool(* | IsViewPointSupported )(XnModuleNodeHandle hGenerator, XnNodeHandle hOther) |
| |
| XnStatus(* | SetViewPoint )(XnModuleNodeHandle hGenerator, XnNodeHandle hOther) |
| |
| XnBool(* | IsViewPointAs )(XnModuleNodeHandle hGenerator, XnNodeHandle hOther) |
| |
| XnStatus(* | ResetViewPoint )(XnModuleNodeHandle hGenerator) |
| |
| XnStatus(* | RegisterToViewPointChange )(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
| |
| void(* | UnregisterFromViewPointChange )(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback) |
| |
| XnStatus(* | GetPixelCoordinatesInViewPoint )(XnModuleNodeHandle hGenerator, XnNodeHandle hOther, XnUInt32 x, XnUInt32 y, XnUInt32 *pAltX, XnUInt32 *pAltY) |
| |
◆ GetPixelCoordinatesInViewPoint
| XnStatus(* XnModuleAlternativeViewPointInterface::GetPixelCoordinatesInViewPoint) (XnModuleNodeHandle hGenerator, XnNodeHandle hOther, XnUInt32 x, XnUInt32 y, XnUInt32 *pAltX, XnUInt32 *pAltY) |
Gets a single pixel coordinates in an alternative view point. This method uses current frame data.
- Parameters
-
| hGenerator | [in] A handle to the instance. |
| hOther | [in] The view point to translate to. |
| x | [in] X-coordinate of the pixel to be translated |
| y | [in] Y-coordinate of the pixel to be translated |
| pAltX | [out] X-coordinate of the pixel in the alternative view point |
| pAltY | [out] Y-coordinate of the pixel in the alternative view point |
◆ IsViewPointAs
Checks if current view point is as if coming from the other node view point.
- Parameters
-
| hGenerator | [in] A handle to the instance. |
| hOther | [in] The view point to be checked. |
◆ IsViewPointSupported
Checks if this generator can change its output to look like as if it was taken from a different location, represented by another generator.
- Parameters
-
| hGenerator | [in] A handle to the instance. |
| hOther | [in] The view point to be checked. |
- Returns
- TRUE if view point is supported, FALSE otherwise.
◆ RegisterToViewPointChange
Registers a callback function to view point changes.
- Parameters
-
| hGenerator | [in] A handle to the instance. |
| handler | [in] A pointer to a function that will be called when view point 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 UnregisterFromViewPointChange(). |
◆ ResetViewPoint
Sets the view point of this generator to its normal one.
- Parameters
-
| hGenerator | [in] A handle to the instance. |
◆ SetViewPoint
Sets the view point of this generator to look like as if placed at another generator location.
- Parameters
-
| hGenerator | [in] A handle to the instance. |
| hOther | [in] The view point to be set. |
◆ UnregisterFromViewPointChange
The documentation for this struct was generated from the following file: