Functions for getting depth information from the device. More...
Functions | |
TangoErrorType | TangoService_connectOnPointCloudAvailable (void(*TangoService_onPointCloudAvailable)(void *context, const TangoPointCloud *cloud),...) |
TangoErrorType | TangoService_connectOnXYZijAvailable (void(*TangoService_onXYZijAvailable)(void *context, const TangoXYZij *xyz_ij),...) |
Functions for getting depth information from the device.
TangoErrorType TangoService_connectOnPointCloudAvailable | ( | void(*)(void *context, const TangoPointCloud *cloud) | TangoService_onPointCloudAvailable, |
... | |||
) |
Attach an onPointCloudAvailable callback. The callback is called each time new depth data is available.
An optional argument following the callback pointer can be supplied and will be returned in the callback context parameter if TangoService_connect() was called with a null context.
TangoService_onPointCloudAvailable | Function pointer for the callback function. |
TANGO_ERROR
if the callback function pointer is null; TANGO_SUCCESS
otherwise. TangoErrorType TangoService_connectOnXYZijAvailable | ( | void(*)(void *context, const TangoXYZij *xyz_ij) | TangoService_onXYZijAvailable, |
... | |||
) |
Attach an onXYZijAvailable callback. The callback is called each time new depth data is available. On the Tango tablet, the depth callback occurs at 5 Hz.
An optional argument following the callback pointer can be supplied and will be returned in the callback context parameter if TangoService_connect() was called with a null context.
TangoService_onXYZijAvailable | Function pointer for the callback function. |
TANGO_ERROR
if the callback function pointer is null; TANGO_SUCCESS
otherwise.