![]() |
OpenNI 1.5.2
|
#include <XnModuleInterface.h>
Public Attributes | |
| 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) |
| XnBool(* XnModuleAlternativeViewPointInterface::IsViewPointAs)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther) |
Checks if current view point is as if coming from the other node view point.
| hGenerator | [in] A handle to the instance. |
| hOther | [in] The view point to be checked. |
| XnBool(* XnModuleAlternativeViewPointInterface::IsViewPointSupported)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther) |
Checks if this generator can change its output to look like as if it was taken from a different location, represented by another generator.
| hGenerator | [in] A handle to the instance. |
| hOther | [in] The view point to be checked. |
| XnStatus(* XnModuleAlternativeViewPointInterface::RegisterToViewPointChange)(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
Registers a callback function to view point changes.
| 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(). |
Sets the view point of this generator to its normal one.
| hGenerator | [in] A handle to the instance. |
| XnStatus(* XnModuleAlternativeViewPointInterface::SetViewPoint)(XnModuleNodeHandle hGenerator, XnNodeHandle hOther) |
Sets the view point of this generator to look like as if placed at another generator location.
| hGenerator | [in] A handle to the instance. |
| hOther | [in] The view point to be set. |
| void(* XnModuleAlternativeViewPointInterface::UnregisterFromViewPointChange)(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback) |
Unregisters a callback function which was registered using RegisterToViewPointChange().
| hGenerator | [in] A handle to the instance. |
| hCallback | [in] The handle to the callback returned from RegisterToViewPointChange(). |
1.7.6.1