General C-Interface for the vlSDK, which works on all devices. More...
Modules | |
Global | |
Global functions which can be called without a corresponding object which handles the request. | |
AbstractApplicationWrapper | |
Functions for managing AbstractApplicationWrapper objects. | |
ImageWrapper | |
Functions for managing ImageWrapper objects. | |
ExtrinsicDataWrapper | |
Functions for managing ExtrinsicDataWrapper objects. | |
IntrinsicDataWrapper | |
Functions for managing IntrinsicDataWrapper objects. | |
Worker | |
Functions for managing Worker objects. | |
Utils | |
Functions for general purpose and supporting your app. | |
Typedefs | |
typedef struct vlAbstractApplicationWrapper_s | vlAbstractApplicationWrapper_t |
Type which represents an AbstractApplicationWrapper. More... | |
typedef struct vlImageWrapper_s | vlImageWrapper_t |
Type which represents an ImageWrapper. More... | |
typedef struct vlExtrinsicDataWrapper_s | vlExtrinsicDataWrapper_t |
Type which represents an ExtrinsicDataWrapper. More... | |
typedef struct vlIntrinsicDataWrapper_s | vlIntrinsicDataWrapper_t |
Type which represents an IntrinsicDataWrapper. More... | |
typedef struct vlWorker_s | vlWorker_t |
Type which represents a Worker. More... | |
typedef void(VL_CALLINGCONVENTION * | vlCallbackBool) (bool data, void *clientData) |
A pointer to a callback function which receives a boolean value as parameter. More... | |
typedef void(VL_CALLINGCONVENTION * | vlCallbackZString) (const char data[], void *clientData) |
A pointer to a callback function which receives a zero terminated string as parameter. More... | |
typedef void(VL_CALLINGCONVENTION * | vlCallbackJsonString) (const char error[], const char data[], void *clientData) |
A pointer to a callback function which receives two zero terminated string which contain JSON data. More... | |
typedef void(VL_CALLINGCONVENTION * | vlCallbackJsonAndBinaryString) (const char description[], const char data[], unsigned int size, void *clientData) |
A pointer to a callback function which receives a zero terminated description string (usually in JSON) and a binary buffer which plain binary data. Please note that the use of this function might change in future and is considered as BETA! More... | |
typedef void(VL_CALLINGCONVENTION * | vlCallbackImageWrapper) (vlImageWrapper_t *image, void *clientData) |
A pointer to a callback function which receives a pointer to an ImageWrapper object as parameter. More... | |
typedef void(VL_CALLINGCONVENTION * | vlCallbackExtrinsicDataWrapper) (vlExtrinsicDataWrapper_t *extrinsicData, void *clientData) |
A pointer to a callback function which receives a pointer to an ExtrinsicDataWrapper object as parameter. Please notice, that the object is only valid inside the callback and it will automatically get deleted afterwards. More... | |
typedef void(VL_CALLINGCONVENTION * | vlCallbackIntrinsicDataWrapper) (vlIntrinsicDataWrapper_t *intrinsicData, void *clientData) |
A pointer to a callback function which receives a pointer to an IntrinsicDataWrapper object as parameter. Please notice, that the object is only valid inside the callback and it will automatically get deleted afterwards. More... | |
Enumerations | |
enum | vlLogLevel { VL_LOG_LOG = 0, VL_LOG_FATAL = 1, VL_LOG_WARNING = 2, VL_LOG_NOTICE = 3, VL_LOG_INFO = 4, VL_LOG_DEBUG = 5 } |
enum | vlRenderRotation { VL_RENDER_ROTATION_CCW_0 = 0, VL_RENDER_ROTATION_CCW_90 = 2, VL_RENDER_ROTATION_CCW_180 = 1, VL_RENDER_ROTATION_CCW_270 = 3 } |
enum | vlImageFormat { VL_IMAGE_FORMAT_UNDEFINED = 0, VL_IMAGE_FORMAT_GREY = 1, VL_IMAGE_FORMAT_RGB = 2, VL_IMAGE_FORMAT_RGBA = 3 } |
General C-Interface for the vlSDK, which works on all devices.
typedef struct vlAbstractApplicationWrapper_s vlAbstractApplicationWrapper_t |
Type which represents an AbstractApplicationWrapper.
Please use the vlAbstractApplication_... functions to manipulate instances of it.
typedef void(VL_CALLINGCONVENTION * vlCallbackBool) (bool data, void *clientData) |
A pointer to a callback function which receives a boolean value as parameter.
data | Boolean parameter. The meaning depends on the context. |
clientData | Pointer value which was initially received from the user. This can be used to invoke a member function. |
typedef void(VL_CALLINGCONVENTION * vlCallbackExtrinsicDataWrapper) (vlExtrinsicDataWrapper_t *extrinsicData, void *clientData) |
A pointer to a callback function which receives a pointer to an ExtrinsicDataWrapper object as parameter. Please notice, that the object is only valid inside the callback and it will automatically get deleted afterwards.
extrinsicData | Pointer to an ExtrinsicDataWrapper object. You can use the vlExtrinsicDataWrapper_..." functions to work with it. |
clientData | Pointer value which was initially received from the user. This can be used to invoke a member function. |
typedef void(VL_CALLINGCONVENTION * vlCallbackImageWrapper) (vlImageWrapper_t *image, void *clientData) |
A pointer to a callback function which receives a pointer to an ImageWrapper object as parameter.
image | Pointer to an ImageWrapper object. You can use the vlImageWrapper_..." functions to work with it. Please notice, that the object is only valid inside the callback and it will automatically get deleted afterwards. |
clientData | Pointer value which was initially received from the user. This can be used to invoke a member function. |
typedef void(VL_CALLINGCONVENTION * vlCallbackIntrinsicDataWrapper) (vlIntrinsicDataWrapper_t *intrinsicData, void *clientData) |
A pointer to a callback function which receives a pointer to an IntrinsicDataWrapper object as parameter. Please notice, that the object is only valid inside the callback and it will automatically get deleted afterwards.
intrinsicData | Pointer to an IntrinsicDataWrapper object. You can use the vlIntrinsicDataWrapper_..." functions to work with it. |
clientData | Pointer value which was initially received from the user. This can be used to invoke a member function. |
typedef void(VL_CALLINGCONVENTION * vlCallbackJsonAndBinaryString) (const char description[], const char data[], unsigned int size, void *clientData) |
A pointer to a callback function which receives a zero terminated description string (usually in JSON) and a binary buffer which plain binary data. Please note that the use of this function might change in future and is considered as BETA!
NOTE: The passed data pointer should be released using the vlReleaseBinaryBuffer function.
description | Zero terminated string with JSON data. The JSON format of the object depends on the context. |
data | Binary data pointer (might be Zero). The context specific description might point to offsets within the binary data pointer. |
size | Size of the binary data. |
clientData | Pointer value which was initially received from the user. This can be used to invoke a member function. |
typedef void(VL_CALLINGCONVENTION * vlCallbackJsonString) (const char error[], const char data[], void *clientData) |
A pointer to a callback function which receives two zero terminated string which contain JSON data.
error | Zero terminated string with JSON data. This will be NULL, if no error occurred. The JSON format of the error object depends on the context. |
data | Zero terminated string with JSON data. This could be NULL, if an error occurred. The JSON format of the data object depends on the context. |
clientData | Pointer value which was initially received from the user. This can be used to invoke a member function. |
typedef void(VL_CALLINGCONVENTION * vlCallbackZString) (const char data[], void *clientData) |
A pointer to a callback function which receives a zero terminated string as parameter.
data | Zero terminated string. The meaning depends on the context. |
clientData | Pointer value which was initially received from the user. This can be used to invoke a member function. |
typedef struct vlExtrinsicDataWrapper_s vlExtrinsicDataWrapper_t |
Type which represents an ExtrinsicDataWrapper.
Please use the vlExtrinsicDataWrapper_... functions to manipulate instances of it.
typedef struct vlImageWrapper_s vlImageWrapper_t |
Type which represents an ImageWrapper.
Please use the vlImageWrapper_... functions to manipulate instances of it.
typedef struct vlIntrinsicDataWrapper_s vlIntrinsicDataWrapper_t |
Type which represents an IntrinsicDataWrapper.
Please use the vlIntrinsicDataWrapper_... functions to manipulate instances of it.
typedef struct vlWorker_s vlWorker_t |
Type which represents a Worker.
Please use the vlWorker_... functions to manipulate instances of it.
enum vlImageFormat |
enum vlLogLevel |
enum vlRenderRotation |
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddNodeDataExtrinsicDataListener | ( | vlWorker_t * | worker, |
const char | node[], | ||
const char | key[], | ||
vlCallbackExtrinsicDataWrapper | listener, | ||
void * | clientData | ||
) |
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddNodeDataImageListener | ( | vlWorker_t * | worker, |
const char | node[], | ||
const char | key[], | ||
vlCallbackImageWrapper | listener, | ||
void * | clientData | ||
) |
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddNodeDataIntrinsicDataListener | ( | vlWorker_t * | worker, |
const char | node[], | ||
const char | key[], | ||
vlCallbackIntrinsicDataWrapper | listener, | ||
void * | clientData | ||
) |
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddNodeTrackingStateListener | ( | vlWorker_t * | worker, |
const char | node[], | ||
vlCallbackZString | listener, | ||
void * | clientData | ||
) |
VL_SDK_API char* VL_CALLINGCONVENTION vlWorker_GetNodeTrackingStateJsonSync | ( | vlWorker_t * | worker, |
const char | node[] | ||
) |
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveNodeDataExtrinsicDataListener | ( | vlWorker_t * | worker, |
const char | node[], | ||
const char | key[], | ||
vlCallbackExtrinsicDataWrapper | listener, | ||
void * | clientData | ||
) |
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveNodeDataImageListener | ( | vlWorker_t * | worker, |
const char | node[], | ||
const char | key[], | ||
vlCallbackImageWrapper | listener, | ||
void * | clientData | ||
) |
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveNodeDataIntrinsicDataListener | ( | vlWorker_t * | worker, |
const char | node[], | ||
const char | key[], | ||
vlCallbackIntrinsicDataWrapper | listener, | ||
void * | clientData | ||
) |
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveNodeTrackingStateListener | ( | vlWorker_t * | worker, |
const char | node[], | ||
vlCallbackZString | listener, | ||
void * | clientData | ||
) |