#include <XnModuleInterface.h>
Public Member Functions | |
XnDepthPixel *XN_CALLBACK_TYPE * | GetDepthMap (XnModuleNodeHandle hGenerator) |
void (XN_CALLBACK_TYPE *GetFieldOfView)(XnModuleNodeHandle hGenerator | |
void (XN_CALLBACK_TYPE *UnregisterFromFieldOfViewChange)(XnModuleNodeHandle hGenerator | |
XnDepthPixel (XN_CALLBACK_TYPE *GetDeviceMaxDepth)(XnModuleNodeHandle hGenerator) | |
XnStatus (XN_CALLBACK_TYPE *RegisterToFieldOfViewChange)(XnModuleNodeHandle hGenerator | |
Public Attributes | |
XnModuleStateChangedHandler | handler |
XnCallbackHandle | hCallback |
XnModuleStateChangedHandler void * | pCookie |
XnFieldOfView * | pFOV |
XnModuleStateChangedHandler void XnCallbackHandle * | phCallback |
XnModuleMapGeneratorInterface * | pMapInterface |
XnModuleUserPositionCapabilityInterface * | pUserPositionInterface |
Depth generator additional methods.
Definition at line 852 of file XnModuleInterface.h.
XnDepthPixel* XN_CALLBACK_TYPE* XnModuleDepthGeneratorInterface::GetDepthMap | ( | XnModuleNodeHandle | hGenerator | ) |
Gets the current depth-map. This map is updated after a call to WaitAndUpdateData().
hGenerator | [in] A handle to the instance. |
XnModuleDepthGeneratorInterface::void | ( | XN_CALLBACK_TYPE * | GetFieldOfView | ) |
Gets the field of view of the sensor, in radians. This value will be used for translation between projective and real-world coordinates. It is assumed that the sensor is a pinhole camera.
hGenerator | [in] A handle to the instance. |
pFOV | [in] A struct to be filled with data. |
XnModuleDepthGeneratorInterface::void | ( | XN_CALLBACK_TYPE * | UnregisterFromFieldOfViewChange | ) |
Unregisters a callback function which was registered using RegisterToFieldOfViewChange.
hGenerator | [in] A handle to the instance. |
hCallback | [in] The handle to the callback returned from RegisterToFieldOfViewChange. |
XnModuleDepthGeneratorInterface::XnDepthPixel | ( | XN_CALLBACK_TYPE * | GetDeviceMaxDepth | ) |
Gets the maximum depth the device can produce.
hGenerator | [in] A handle to the instance. |
XnModuleDepthGeneratorInterface::XnStatus | ( | XN_CALLBACK_TYPE * | RegisterToFieldOfViewChange | ) |
Registers a callback function to field of view changes.
hGenerator | [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 UnregisterFromFieldOfViewChange(). |
Definition at line 893 of file XnModuleInterface.h.
Definition at line 902 of file XnModuleInterface.h.
Definition at line 893 of file XnModuleInterface.h.
Definition at line 883 of file XnModuleInterface.h.
Definition at line 893 of file XnModuleInterface.h.
Contains map generator interface.
Definition at line 857 of file XnModuleInterface.h.
Contains User Position Capability interface.
Definition at line 907 of file XnModuleInterface.h.