documentation

vlSDK.h
Go to the documentation of this file.
1 // ========================================================================= //
2 // //
3 // Filename: vlSDK.h //
4 // +-----+-----+--+--+--+--+ //
5 // Version: 1.0 ! ! ! ! ! ! ! //
6 // ! ! +--+--+--+--+ //
7 // Author: Fraunhofer-Institut fuer ! ! ! ! ! ! ! //
8 // Graphische Datenverarbeitung +-----+-----+--+--+--+--+ //
9 // (IGD) Abteilung A4: ! ! ! ! ! ! ! //
10 // Virtuelle und Erweiterte Realitaet ! ! +--+--+--+--+ //
11 // Fraunhoferstr. 5 ! ! ! ! ! ! ! //
12 // D-64283 Darmstadt, Germany +-----+-----+--+--+--+--+ //
13 // ! FFFFFF hh ! GGGG ! //
14 // Rights: Copyright (c) 2004 by IGD. ! FFFFFF hh ! GGGGGG ! //
15 // All rights reserved. ! FFF hh h GG ! //
16 // IGD provides this product ! FFFFF hhhhhh GG GG ! //
17 // without warranty of any kind ! FFFFF hhh!hhh GG GG ! //
18 // and shall not be liable for ! FFF hh ! hh GGGGGG ! //
19 // any damages caused by the use ! FFF hh ! hh GGGG ! //
20 // of this product. +-----------+-----------+ //
21 // //
22 // ========================================================================= //
23 // ----------------------------------------------------------------------- //
24 // //
25 // Creation Date : Tue Jul 21 17:04:00 2015 Martin Buchner //
26 // //
27 // ========================================================================= //
28 
43 #ifndef VL_SDK_H
44 #define VL_SDK_H
45 
46 #include "vlSDKDef.h"
47 #include "vlSDKVersion.h"
48 
49 struct vlAbstractApplicationWrapper_s;
56 typedef struct vlAbstractApplicationWrapper_s vlAbstractApplicationWrapper_t;
57 
58 struct vlActionWrapper_s;
66 typedef struct vlActionWrapper_s vlActionWrapper_t;
67 
68 struct vlActionPipeWrapper_s;
76 typedef struct vlActionPipeWrapper_s vlActionPipeWrapper_t;
77 
78 struct vlDataBaseWrapper_s;
86 typedef struct vlDataBaseWrapper_s vlDataBaseWrapper_t;
87 
88 struct vlDataSetWrapper_s;
96 typedef struct vlDataSetWrapper_s vlDataSetWrapper_t;
97 
98 struct vlImageWrapper_s;
105 typedef struct vlImageWrapper_s vlImageWrapper_t;
106 
107 struct vlExtrinsicDataWrapper_s;
114 typedef struct vlExtrinsicDataWrapper_s vlExtrinsicDataWrapper_t;
115 
116 struct vlIntrinsicDataWrapper_s;
123 typedef struct vlIntrinsicDataWrapper_s vlIntrinsicDataWrapper_t;
124 
125 struct vlWorker_s;
132 typedef struct vlWorker_s vlWorker_t;
133 
137 typedef enum
138 {
151 } vlLogLevel;
152 
156 typedef enum
157 {
163 
167 typedef enum
168 {
177 } vlImageFormat;
178 
188  bool data, void* clientData);
189 
199  const char data[], void* clientData);
200 
215  const char error[], const char data[], void* clientData);
216 
233  const char description[], const char data[], unsigned int size,
234  void* clientData);
235 
248  vlImageWrapper_t* image, void* clientData);
249 
263  vlExtrinsicDataWrapper_t* extrinsicData, void* clientData);
264 
278  vlIntrinsicDataWrapper_t* intrinsicData, void* clientData);
279 
280 #ifdef __cplusplus
281 extern "C"
282 {
283 #endif // __cplusplus
284 
296 
302 
317  char version[], unsigned int maxSize);
318 
328  char version[], unsigned int maxSize);
329 
339  char versionTimeStamp[], unsigned int maxSize);
340 
352  vlCallbackZString fn, void* clientData);
353 
363  vlCallbackZString fn, void* clientData);
364 
372 
389 
404 
417  unsigned int maxEntries);
418 
435 
444 
460 
471  const char message[], int level);
472 
494 
503  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
504 
517  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
518 
532  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
533 
550  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
551  char hostID[], unsigned int maxSize);
552 
570  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
571  char bundleID[], unsigned int maxSize);
588  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
589  const char *licenseFilePath);
590 
609  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
610  const char *licenseFileData);
611 
629  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
630  char licenseInfo[], unsigned int maxSize);
631 
650  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
651  const char pluginPath[]);
652 
667  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
668  const char path[]);
669 
686  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
687  char trackerType[], unsigned int maxSize);
688 
702  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
703 
718  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
719  const char filename[]);
720 
738  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
739  const char str[], const char fakeFilename[]);
740 
755  VL_SDK_API vlActionPipeWrapper_t* VL_CALLINGCONVENTION
756  vlAbstractApplicationWrapper_GetActionPipe(
757  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
758 
773  VL_SDK_API vlDataSetWrapper_t* VL_CALLINGCONVENTION
774  vlAbstractApplicationWrapper_GetDataSet(
775  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
776 
788  vlAbstractApplicationWrapper_InitActions(
789  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
790 
804  vlAbstractApplicationWrapper_ApplyActions(
805  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
806 
817  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
818 
863  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
864  char buffer[], unsigned int maxSize);
865 
890  vlAbstractApplicationWrapper_t* abstractApplicationWrapper,
891  const char uri[]);
892 
915  vlAbstractApplicationWrapper_t* abstractApplicationWrapper);
916 
936  VL_SDK_API void VL_CALLINGCONVENTION vlDelete_ActionWrapper(
937  vlActionWrapper_t* actionWrapper);
938 
946  VL_SDK_API bool VL_CALLINGCONVENTION vlActionWrapper_IsEnabled(
947  vlActionWrapper_t* actionWrapper);
948 
957  VL_SDK_API bool VL_CALLINGCONVENTION vlActionWrapper_SetEnabled(
958  vlActionWrapper_t* actionWrapper, bool enabled);
959 
970  VL_SDK_API bool VL_CALLINGCONVENTION vlActionWrapper_GetAttribute(
971  vlActionWrapper_t* actionWrapper,
972  const char attributeName[], char value[], unsigned int maxSize);
973 
983  VL_SDK_API bool VL_CALLINGCONVENTION vlActionWrapper_SetAttribute(
984  vlActionWrapper_t* actionWrapper,
985  const char attributeName[], const char value[]);
986 
999  VL_SDK_API bool VL_CALLINGCONVENTION vlActionWrapper_Init(
1000  vlActionWrapper_t* actionWrapper,
1001  vlDataSetWrapper_t* dataSetWrapper);
1002 
1015  VL_SDK_API bool VL_CALLINGCONVENTION vlActionWrapper_Apply(
1016  vlActionWrapper_t* actionWrapper,
1017  vlDataSetWrapper_t* dataSetWrapper);
1018 
1048  VL_SDK_API void VL_CALLINGCONVENTION vlDelete_ActionPipeWrapper(
1049  vlActionPipeWrapper_t* actionPipeWrapper);
1058  VL_SDK_API bool VL_CALLINGCONVENTION vlActionPipeWrapper_IsEnabled(
1059  vlActionPipeWrapper_t* actionPipeWrapper);
1060 
1070  VL_SDK_API bool VL_CALLINGCONVENTION vlActionPipeWrapper_SetEnabled(
1071  vlActionPipeWrapper_t* actionPipeWrapper, bool enabled);
1072 
1084  VL_SDK_API bool VL_CALLINGCONVENTION vlActionPipeWrapper_GetAttribute(
1085  vlActionPipeWrapper_t* actionPipeWrapper,
1086  const char attributeName[], char value[],
1087  unsigned int maxSize);
1088 
1099  VL_SDK_API bool VL_CALLINGCONVENTION vlActionPipeWrapper_SetAttribute(
1100  vlActionPipeWrapper_t* actionPipeWrapper,
1101  const char attributeName[], const char value[]);
1102 
1121  VL_SDK_API vlActionWrapper_t* VL_CALLINGCONVENTION
1122  vlActionPipeWrapper_FindAction(
1123  vlActionPipeWrapper_t* actionPipeWrapper, const char key[]);
1124 
1143  VL_SDK_API vlActionPipeWrapper_t* VL_CALLINGCONVENTION
1144  vlActionPipeWrapper_FindActionPipe(
1145  vlActionPipeWrapper_t* actionPipeWrapper, const char key[]);
1146 
1159  VL_SDK_API bool VL_CALLINGCONVENTION vlActionPipeWrapper_Init(
1160  vlActionPipeWrapper_t* actionPipeWrapper,
1161  vlDataSetWrapper_t* dataSetWrapper);
1162 
1175  VL_SDK_API bool VL_CALLINGCONVENTION vlActionPipeWrapper_Apply(
1176  vlActionPipeWrapper_t* actionPipeWrapper,
1177  vlDataSetWrapper_t* dataSetWrapper);
1178 
1179 
1199  VL_SDK_API void VL_CALLINGCONVENTION vlDelete_DataBaseWrapper(
1200  vlDataBaseWrapper_t* dataBaseWrapper);
1201 
1213  VL_SDK_API bool VL_CALLINGCONVENTION vlDataBaseWrapper_GetAttribute(
1214  vlDataBaseWrapper_t* dataBaseWrapper,
1215  const char attributeName[], char value[],
1216  unsigned int maxSize);
1217 
1228  VL_SDK_API bool VL_CALLINGCONVENTION vlDataBaseWrapper_SetAttribute(
1229  vlDataBaseWrapper_t* dataBaseWrapper,
1230  const char attributeName[], const char value[]);
1231 
1260  VL_SDK_API void VL_CALLINGCONVENTION vlDelete_DataSetWrapper(
1261  vlDataSetWrapper_t* dataSetWrapper);
1262 
1283  VL_SDK_API vlDataBaseWrapper_t* VL_CALLINGCONVENTION
1284  vlDataSetWrapper_GetDataBase(
1285  vlDataSetWrapper_t* dataSetWrapper, const char key[]);
1286 
1307  VL_SDK_API vlDataSetWrapper_t* VL_CALLINGCONVENTION
1308  vlDataSetWrapper_GetDataSet(
1309  vlDataSetWrapper_t* dataSetWrapper, const char key[]);
1310 
1330  vlDataSetWrapper_GetImage(
1331  vlDataSetWrapper_t* dataSetWrapper, const char key[]);
1332 
1353  vlDataSetWrapper_GetExtrinsicData(
1354  vlDataSetWrapper_t* dataSetWrapper, const char key[]);
1355 
1376  vlDataSetWrapper_GetIntrinsicData(
1377  vlDataSetWrapper_t* dataSetWrapper, const char key[]);
1378 
1396 
1407  vlImageWrapper_t* imageWrapper);
1408 
1418  vlImageWrapper_t* imageWrapper);
1419 
1427  VL_SDK_API unsigned int VL_CALLINGCONVENTION
1429  vlImageWrapper_t* imageWrapper);
1430 
1439  vlImageWrapper_t* imageWrapper);
1440 
1449  vlImageWrapper_t* imageWrapper);
1450 
1451 
1468  vlImageWrapper_t* imageWrapper,
1469  unsigned char buffer[], unsigned int bufferSize);
1470 
1489  vlImageWrapper_t* imageWrapper, const unsigned char buffer[],
1490  unsigned int width, unsigned int height);
1491 
1509  vlImageWrapper_t* imageWrapper, const unsigned char buffer[],
1510  unsigned int width, unsigned int height,vlImageFormat imageFormat);
1511 
1531 
1542  vlExtrinsicDataWrapper_t* extrinsicDataWrapper);
1543 
1554  vlExtrinsicDataWrapper_t* extrinsicDataWrapper);
1555 
1566  vlExtrinsicDataWrapper_t* extrinsicDataWrapper, bool value);
1567 
1592  vlExtrinsicDataWrapper_t* extrinsicDataWrapper, float matrix[],
1593  unsigned int matrixElementCount);
1594 
1612  vlExtrinsicDataWrapper_t* extrinsicDataWrapper, float t[],
1613  unsigned int elementCount);
1614 
1632  vlExtrinsicDataWrapper_t* extrinsicDataWrapper, const float t[],
1633  unsigned int elementCount);
1634 
1652  vlExtrinsicDataWrapper_t* extrinsicDataWrapper, float q[],
1653  unsigned int elementCount);
1654 
1672  vlExtrinsicDataWrapper_t* extrinsicDataWrapper, const float q[],
1673  unsigned int elementCount);
1674 
1692  vlExtrinsicDataWrapper_t* extrinsicDataWrapper, float t[],
1693  unsigned int elementCount);
1694 
1712  vlExtrinsicDataWrapper_t* extrinsicDataWrapper, const float t[],
1713  unsigned int elementCount);
1714 
1734 
1745  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1746 
1755  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1756 
1767  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, unsigned int value);
1768 
1777  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1778 
1789  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, unsigned int value);
1802  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1803 
1815  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, double value);
1816 
1829  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1830 
1842  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, double value);
1854  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1855 
1866  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, double value);
1867 
1879  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1880 
1892  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, double value);
1904  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1905 
1917  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, double value);
1918 
1930  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1931 
1942  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, bool value);
1943 
1956  vlIntrinsicDataWrapper_t* intrinsicDataWrapper);
1957 
1971  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, double k[],
1972  unsigned int elementCount);
1973 
1987  vlIntrinsicDataWrapper_t* intrinsicDataWrapper, const double k[],
1988  unsigned int elementCount);
1989 
2031  vlIntrinsicDataWrapper_t* intrinsicDataWrapper,
2032  float nearFact, float farFact, unsigned int screenWidth,
2033  unsigned int screenHeight, unsigned int renderRotation,
2034  unsigned int mode, float matrix[], unsigned int matrixElementCount);
2035 
2056 
2078 
2086 
2095 
2104 
2118  vlWorker_t* worker);
2119 
2137  vlWorker_t* worker, const char jsonString[],
2138  vlCallbackJsonString callback, void* clientData);
2139 
2157  vlWorker_t* worker);
2158 
2178  vlWorker_t* worker, const char* image_name);
2179 
2180 
2199  vlWorker_GetNodeImageSync(vlWorker_t* worker, const char node[], const char key[]);
2200 
2217  vlWorker_SetNodeImageSync(vlWorker_t* worker, vlImageWrapper_t* image, const char node[], const char key[]);
2218 
2238  vlWorker_t* worker,
2239  const char node[],
2240  const char key[]);
2241 
2258  vlWorker_t* worker,
2259  vlExtrinsicDataWrapper_t* extrinsicData,
2260  const char node[],
2261  const char key[]);
2262 
2282  vlWorker_t* worker,
2283  const char node[],
2284  const char key[]);
2285 
2302  vlWorker_t* worker,
2303  vlIntrinsicDataWrapper_t* intrinsicData,
2304  const char node[],
2305  const char key[]);
2306 
2315  vlWorker_t* worker);
2316 
2360  vlWorker_t* worker, const char name[], const char parameter[],
2361  vlCallbackBool callback, void* clientData);
2362 
2546  vlWorker_t* worker, const char jsonString[],
2547  vlCallbackJsonString callback, void* clientData);
2548 
2572  vlWorker_t* worker, const char jsonString[], const char data[],
2573  unsigned int size, vlCallbackJsonAndBinaryString callback,
2574  void* clientData);
2575 
2587  VL_SDK_API void VL_CALLINGCONVENTION vlReleaseBinaryBuffer(const char data[]);
2588 
2601  vlWorker_t* worker);
2602 
2616  vlWorker_t* worker, vlCallbackImageWrapper listener, void* clientData);
2617 
2629  vlWorker_t* worker, vlCallbackImageWrapper listener, void* clientData);
2630 
2644  vlWorker_t* worker, vlCallbackExtrinsicDataWrapper listener,
2645  void* clientData);
2646 
2658  vlWorker_t* worker, vlCallbackExtrinsicDataWrapper listener,
2659  void* clientData);
2660 
2674  vlWorker_t* worker, vlCallbackIntrinsicDataWrapper listener,
2675  void* clientData);
2676 
2688  vlWorker_t* worker, vlCallbackIntrinsicDataWrapper listener,
2689  void* clientData);
2690 
2704  vlWorker_t* worker, vlCallbackZString listener, void* clientData);
2705 
2717  vlWorker_t* worker, vlCallbackZString listener, void* clientData);
2718 
2732  vlWorker_t* worker, vlCallbackZString listener, void* clientData);
2733 
2745  vlWorker_t* worker, vlCallbackZString listener, void* clientData);
2746 
2761  vlWorker_t* worker, const char key[], vlCallbackImageWrapper listener,
2762  void* clientData);
2763 
2776  vlWorker_t* worker, const char key[], vlCallbackImageWrapper listener,
2777  void* clientData);
2778 
2794  vlWorker_t* worker, const char key[],
2795  vlCallbackExtrinsicDataWrapper listener, void* clientData);
2796 
2810  vlWorker_t* worker, const char key[],
2811  vlCallbackExtrinsicDataWrapper listener, void* clientData);
2812 
2828  vlWorker_t* worker, const char key[],
2829  vlCallbackIntrinsicDataWrapper listener, void* clientData);
2830 
2844  vlWorker_t* worker, const char key[],
2845  vlCallbackIntrinsicDataWrapper listener, void* clientData);
2846 
2863  vlWorker_t* worker,
2864  const char anchorName[],
2866  void* clientData);
2867 
2883  vlWorker_t* worker,
2884  const char anchorName[],
2886  void* clientData);
2887 
2905  vlWorker_t* worker, const char node[], const char key[],
2906  vlCallbackImageWrapper listener, void* clientData);
2907 
2924  vlWorker_t* worker, const char node[], const char key[],
2925  vlCallbackImageWrapper listener, void* clientData);
2926 
2945  vlWorker_t* worker, const char node[], const char key[],
2946  vlCallbackExtrinsicDataWrapper listener, void* clientData);
2947 
2965  vlWorker_t* worker, const char node[], const char key[],
2966  vlCallbackExtrinsicDataWrapper listener, void* clientData);
2967 
2986  vlWorker_t* worker, const char node[], const char key[],
2987  vlCallbackIntrinsicDataWrapper listener, void* clientData);
2988 
3006  vlWorker_t* worker, const char node[], const char key[],
3007  vlCallbackIntrinsicDataWrapper listener, void* clientData);
3008 
3028  const char node[], vlCallbackZString listener, void* clientData);
3029 
3046  vlWorker_GetNodeTrackingStateJsonSync(vlWorker_t* worker, const char node[]);
3047 
3064  const char node[], vlCallbackZString listener, void* clientData);
3065 
3074  vlWorker_t* worker);
3075 
3088  vlWorker_t* worker);
3089 
3107  vlWorker_t* worker, unsigned int timeout);
3108 
3114 
3120 
3149  const char *uri, unsigned long *size, const char *options=0);
3150 
3170  const char* uri, const void* data, unsigned long size,
3171  const char* options=0);
3172 
3189  const char* prefName, char *newName, unsigned int maxSize);
3190 
3206  //VL_SDK_API float* VL_CALLINGCONVENTION
3208  const char* geometryJson, unsigned long* size);
3209 
3225  // VL_SDK_API float* VL_CALLINGCONVENTION
3227  const char* workspaceJson,
3228  unsigned long* size);
3229 
3230 #ifdef __cplusplus
3231 }
3232 #endif // __cplusplus
3233 
3236 #endif // VL_SDK_H
VL_SDK_API void VL_CALLINGCONVENTION vlReleaseBinaryBuffer(const char data[])
Helper function for releasing a binary memory block.
VL_SDK_API char *VL_CALLINGCONVENTION vlSDKUtil_get(const char *uri, unsigned long *size, const char *options=0)
Retrieves a file and its data from a given URI.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_ClearListeners(vlWorker_t *worker)
Removes all listeners.
VL_SDK_API vlImageWrapper_t *VL_CALLINGCONVENTION vlWorker_GetImageSync(vlWorker_t *worker)
Returns a pointer to the camera image.
VL_SDK_API char *VL_CALLINGCONVENTION vlWorker_GetNodeTrackingStateJsonSync(vlWorker_t *worker, const char node[])
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetCalibrated(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Returns whether the intrinsic parameters are valid.
VL_SDK_API unsigned int VL_CALLINGCONVENTION vlGetVersionMinor()
Returns the minor version number of the VisionLib plugin.
VL_SDK_API bool VL_CALLINGCONVENTION vlGetVersionHashString(char version[], unsigned int maxSize)
Copies the version hash of the VisionLib plugin into a buffer.
Definition: vlSDK.h:158
VL_SDK_API bool VL_CALLINGCONVENTION vlExtrinsicDataWrapper_GetT(vlExtrinsicDataWrapper_t *extrinsicDataWrapper, float t[], unsigned int elementCount)
Returns the translation from the world coordinate system to the camera coordinate system...
VL_SDK_API int VL_CALLINGCONVENTION vlGetLogLevel()
Gets the current log level.
VL_SDK_API bool VL_CALLINGCONVENTION vlExtrinsicDataWrapper_GetModelViewMatrix(vlExtrinsicDataWrapper_t *extrinsicDataWrapper, float matrix[], unsigned int matrixElementCount)
Returns the current camera pose as model-view matrix.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddExtrinsicDataListener(vlWorker_t *worker, vlCallbackExtrinsicDataWrapper listener, void *clientData)
Registers a listener for ExtrinsicData events.
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_SetCyNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, double value)
Sets the normalized y-component of the principal point of the given IntrinsicDataWrapper object to th...
VL_SDK_API unsigned int VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetHeight(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Returns the height of the intrinsic camera calibration.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_GetDeviceInfo(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, char buffer[], unsigned int maxSize)
Copies a JSON string with information about the current device into the provided buffer.
Definition: vlSDK.h:150
vlImageFormat
Definition: vlSDK.h:167
VL_SDK_API vlImageWrapper_t *VL_CALLINGCONVENTION vlNew_ImageWrapper(vlImageFormat imageFormat)
Creates a new Image object and returns a pointer to it.
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_SetHeight(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, unsigned int value)
Sets height of the given IntrinsicDataWrapper object to the given value.
VL_SDK_API bool VL_CALLINGCONVENTION vlLog(const char message[], int level)
Logs the given message as VisionLib log.
void(VL_CALLINGCONVENTION * vlCallbackExtrinsicDataWrapper)(vlExtrinsicDataWrapper_t *extrinsicData, void *clientData)
A pointer to a callback function which receives a pointer to an ExtrinsicDataWrapper object as parame...
Definition: vlSDK.h:262
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddNamedIntrinsicDataListener(vlWorker_t *worker, const char key[], vlCallbackIntrinsicDataWrapper listener, void *clientData)
Registers a listener for named IntrinsicData events.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddIntrinsicDataListener(vlWorker_t *worker, vlCallbackIntrinsicDataWrapper listener, void *clientData)
Registers a listener for IntrinsicData events.
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 vlImageWrapper_CopyFromBuffer(vlImageWrapper_t *imageWrapper, const unsigned char buffer[], unsigned int width, unsigned int height)
Copies the given buffer into the VisionLib image.
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_SetCxNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, double value)
Sets the normalized x-component of the principal point of the given IntrinsicDataWrapper object to th...
void(VL_CALLINGCONVENTION * vlCallbackZString)(const char data[], void *clientData)
A pointer to a callback function which receives a zero terminated string as parameter.
Definition: vlSDK.h:198
VL_SDK_API void VL_CALLINGCONVENTION vlDelete_Worker(vlWorker_t *worker)
Deletes a Worker object.
VL_SDK_API void VL_CALLINGCONVENTION vlDisableLogBuffer()
Disables log buffering.
VL_SDK_API double VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetCalibrationError(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Returns the calibration error.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_WaitEvents(vlWorker_t *worker, unsigned int timeout)
Waits for enqueued events and calls the registered listeners.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveNamedExtrinsicDataListener(vlWorker_t *worker, const char key[], vlCallbackExtrinsicDataWrapper listener, void *clientData)
Unregisters a listener from named ExtrinsicData events events.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddImageListener(vlWorker_t *worker, vlCallbackImageWrapper listener, void *clientData)
Registers a listener for image events.
VL_SDK_API vlIntrinsicDataWrapper_t *VL_CALLINGCONVENTION vlWorker_GetNodeIntrinsicDataSync(vlWorker_t *worker, const char node[], const char key[])
Returns a pointer to IntrinsicData with the given name from a given node.
VL_SDK_API char *VL_CALLINGCONVENTION vlSDKUtil_getCameraTransformsFromWorkspaceDefinition(const char *workspaceJson, unsigned long *size)
Transforms a workspace definition into a list of poses.
Definition: vlSDK.h:176
VL_SDK_API unsigned int VL_CALLINGCONVENTION vlGetVersionRevision()
Returns the revision version number of the VisionLib plugin.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_PushCommand(vlWorker_t *worker, const char name[], const char parameter[], vlCallbackBool callback, void *clientData)
Enqueues a command for the tracking thread as zero terminated string.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_Unlock(vlWorker_t *worker)
For testing purposed. Don't use!
VL_SDK_API bool VL_CALLINGCONVENTION vlRemoveLogListener(vlCallbackZString fn, void *clientData)
Unregisters a log listener.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_RegisterThread(vlAbstractApplicationWrapper_t *abstractApplicationWrapper)
Registers the current thread for the AbstractApplication.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_SetNodeIntrinsicDataSync(vlWorker_t *worker, vlIntrinsicDataWrapper_t *intrinsicData, const char node[], const char key[])
Sets the given IntrinsicData in the given input of the given node.
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_SetFxNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, double value)
Sets the normalized focal length in x direction of the given IntrinsicDataWrapper object to the given...
VL_SDK_API bool VL_CALLINGCONVENTION vlImageWrapper_CopyToBuffer(vlImageWrapper_t *imageWrapper, unsigned char buffer[], unsigned int bufferSize)
Copies the VisionLib image into the given buffer.
VL_SDK_API void VL_CALLINGCONVENTION vlDelete_ExtrinsicDataWrapper(vlExtrinsicDataWrapper_t *extrinsicDataWrapper)
Deletes an ExtrinsicDataWrapper object.
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...
Definition: vlSDK.h:247
#define VL_SDK_API
Definition: vlSDKDef.h:16
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_SetResourcePath(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, const char path[])
Sets the resource path to the given given path.
Definition: vlSDK.h:170
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_SetNodeImageSync(vlWorker_t *worker, vlImageWrapper_t *image, const char node[], const char key[])
Sets the given image in the given input of the given node.
VL_SDK_API vlWorker_t *VL_CALLINGCONVENTION vlNew_SyncWorker(vlAbstractApplicationWrapper_t *aap)
Creates a synchronous Worker object.
void(VL_CALLINGCONVENTION * vlCallbackIntrinsicDataWrapper)(vlIntrinsicDataWrapper_t *intrinsicData, void *clientData)
A pointer to a callback function which receives a pointer to an IntrinsicDataWrapper object as parame...
Definition: vlSDK.h:277
vlLogLevel
Definition: vlSDK.h:137
VL_SDK_API unsigned int VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetWidth(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Returns the width of the intrinsic camera calibration.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddNodeTrackingStateListener(vlWorker_t *worker, const char node[], vlCallbackZString listener, void *clientData)
Definition: vlSDK.h:148
VL_SDK_API unsigned int VL_CALLINGCONVENTION vlImageWrapper_GetHeight(vlImageWrapper_t *imageWrapper)
Returns the height of the image.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_Lock(vlWorker_t *worker)
For testing purposed. Don't use!
VL_SDK_API unsigned int VL_CALLINGCONVENTION vlGetVersionMajor()
Returns the major version number of the VisionLib plugin.
struct vlImageWrapper_s vlImageWrapper_t
Type which represents an ImageWrapper.
Definition: vlSDK.h:105
Definition: vlSDK.h:160
VL_SDK_API vlWorker_t *VL_CALLINGCONVENTION vlNew_Worker(vlAbstractApplicationWrapper_t *aap)
Creates a Worker object.
vlRenderRotation
Definition: vlSDK.h:156
VL_SDK_API bool VL_CALLINGCONVENTION vlSDKUtil_set(const char *uri, const void *data, unsigned long size, const char *options=0)
Posts or writes data to given URI.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_ResetCameraCalibrationDB(vlAbstractApplicationWrapper_t *abstractApplicationWrapper)
Removes all references to all manually set calibration data bases.
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...
Definition: vlSDK.h:214
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_Stop(vlWorker_t *worker)
Stops the tracking thread.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddNamedImageListener(vlWorker_t *worker, const char key[], vlCallbackImageWrapper listener, void *clientData)
Registers a listener for named image events.
VL_SDK_API void VL_CALLINGCONVENTION vlDelete_ImageWrapper(vlImageWrapper_t *imageWrapper)
Deletes an ImageWrapper object.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_Start(vlWorker_t *worker)
Starts the tracking thread.
VL_SDK_API double VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetSkewNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Returns the normalized skew of the intrinsic camera calibration.
VL_SDK_API bool VL_CALLINGCONVENTION vlExtrinsicDataWrapper_GetCamPosWorld(vlExtrinsicDataWrapper_t *extrinsicDataWrapper, float t[], unsigned int elementCount)
Returns the position of the camera in world coordinates.
VL_SDK_API unsigned int VL_CALLINGCONVENTION vlImageWrapper_GetWidth(vlImageWrapper_t *imageWrapper)
Returns the width of the image.
VL_SDK_API bool VL_CALLINGCONVENTION vlFlushLogBuffer()
Notifies registered log listeners of all buffered log messages.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveExtrinsicDataListener(vlWorker_t *worker, vlCallbackExtrinsicDataWrapper listener, void *clientData)
Unregisters a listener from ExtrinsicData events.
Definition: vlSDK.h:140
VL_SDK_API bool VL_CALLINGCONVENTION vlExtrinsicDataWrapper_SetT(vlExtrinsicDataWrapper_t *extrinsicDataWrapper, const float t[], unsigned int elementCount)
Sets the translation from the world coordinate system to the camera coordinate system.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_SetLicenseFileData(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, const char *licenseFileData)
Allows to inject the license data from memory.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_ClearProject(vlAbstractApplicationWrapper_t *abstractApplicationWrapper)
Clears the ActionPipe and DataSet.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveImageListener(vlWorker_t *worker, vlCallbackImageWrapper listener, void *clientData)
Unregisters a listener from image events.
VL_SDK_API void VL_CALLINGCONVENTION vlEnableLogBuffer()
Enables log buffering.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_SetLicenseFilePath(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, const char *licenseFilePath)
Sets the path of the license file.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_LoadProjectData(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, const char filename[])
Loads the specified tracking configuration XML file.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_FoundBlockedFeatures(vlAbstractApplicationWrapper_t *abstractApplicationWrapper)
Returns whether any features are used, which are not licensed.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_ProcessJsonCommandSync(vlWorker_t *worker, const char jsonString[], vlCallbackJsonString callback, void *clientData)
Processes the passed command.
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_SetFyNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, double value)
Sets the normalized focal length in y direction of the given IntrinsicDataWrapper object to the given...
VL_SDK_API bool VL_CALLINGCONVENTION vlSetLogLevel(int level)
Sets the log level.
Definition: vlSDK.h:174
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_ActivateFoundBlockedFeatures(vlAbstractApplicationWrapper_t *abstractApplicationWrapper)
Simulates the usage of blocked features.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_LoadProjectDataFromString(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, const char str[], const char fakeFilename[])
Loads the given string as tracking configuration.
VL_SDK_API vlIntrinsicDataWrapper_t *VL_CALLINGCONVENTION vlNew_IntrinsicDataWrapper()
Creates a new IntrinsicDataWrapper object and returns a pointer to it.
Definition: vlSDK.h:159
Definition: vlSDK.h:172
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RunOnceSync(vlWorker_t *worker)
Processes the enqueued commands and the tracking once.
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_SetWidth(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, unsigned int value)
Sets width of the given IntrinsicDataWrapper object to the given value.
struct vlWorker_s vlWorker_t
Type which represents a Worker.
Definition: vlSDK.h:132
Definition: vlSDK.h:146
VL_SDK_API bool VL_CALLINGCONVENTION vlGetVersionString(char version[], unsigned int maxSize)
Copies the version string of the VisionLib plugin into a buffer.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveNodeTrackingStateListener(vlWorker_t *worker, const char node[], vlCallbackZString listener, void *clientData)
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_AutoLoadPlugins(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, const char pluginPath[])
Loads all VisionLib plugins from a specific directory.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveAnchorToWorldTransformListener(vlWorker_t *worker, const char anchorName[], vlCallbackExtrinsicDataWrapper listener, void *clientData)
Unregister a listener from anchor to world transform events (ExtrinsicData events) produced by a cert...
VL_SDK_API bool VL_CALLINGCONVENTION vlSDKUtil_getTempFilename(const char *prefName, char *newName, unsigned int maxSize)
Generate a temporary file URI.
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...
Definition: vlSDK.h:232
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddPerformanceInfoListener(vlWorker_t *worker, vlCallbackZString listener, void *clientData)
Registers a listener for performance information events.
VL_SDK_API vlExtrinsicDataWrapper_t *VL_CALLINGCONVENTION vlWorker_GetNodeExtrinsicDataSync(vlWorker_t *worker, const char node[], const char key[])
Returns a pointer to extrinsicdata with the given name from a given node.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_IsRunning(vlWorker_t *worker)
Returns whether the thread is currently running or not.
VL_SDK_API double VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetFxNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Returns the normalized focal length of the intrinsic camera calibration in x direction.
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_RemoveNodeDataImageListener(vlWorker_t *worker, const char node[], const char key[], vlCallbackImageWrapper listener, void *clientData)
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_AddCameraCalibrationDB(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, const char uri[])
Adds a given URI pointing to a camera calibration database JSON file to the VisionLib.
Definition: vlSDK.h:144
VL_SDK_API bool VL_CALLINGCONVENTION vlExtrinsicDataWrapper_SetR(vlExtrinsicDataWrapper_t *extrinsicDataWrapper, const float q[], unsigned int elementCount)
Sets the rotation from the world coordinate system to the camera coordinate system.
VL_SDK_API vlAbstractApplicationWrapper_t *VL_CALLINGCONVENTION vlNew_AbstractApplicationWrapper()
Creates an AbstractApplicationWrapper object.
VL_SDK_API char *VL_CALLINGCONVENTION vlSDKUtil_getCameraPositionsFromGeometry(const char *geometryJson, unsigned long *size)
Transforms a workspace geometry into a list of points.
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_AddNamedExtrinsicDataListener(vlWorker_t *worker, const char key[], vlCallbackExtrinsicDataWrapper listener, void *clientData)
Registers a listener for named ExtrinsicData events.
VL_SDK_API vlImageWrapper_t *VL_CALLINGCONVENTION vlWorker_GetNodeImageSync(vlWorker_t *worker, const char node[], const char key[])
Returns a pointer to the image with the given name from a given node.
VL_SDK_API double VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetCyNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Returns the normalized y-component of the principal point.
VL_SDK_API vlImageWrapper_t *VL_CALLINGCONVENTION vlWorker_GetImageByNameSync(vlWorker_t *worker, const char *image_name)
Returns a pointer to the camera image with the given name.
VL_SDK_API double VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetCxNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Returns the normalized x-component of the principal point.
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 vlIntrinsicDataWrapper_GetProjectionMatrix(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, float nearFact, float farFact, unsigned int screenWidth, unsigned int screenHeight, unsigned int renderRotation, unsigned int mode, float matrix[], unsigned int matrixElementCount)
Computed the projection matrix from the intrinsic camera parameters.
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_SetRadialDistortion(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, const double k[], unsigned int elementCount)
Sets the radial distortion parameters.
#define VL_CALLINGCONVENTION
Definition: vlSDKDef.h:17
VL_SDK_API bool VL_CALLINGCONVENTION vlExtrinsicDataWrapper_GetValid(vlExtrinsicDataWrapper_t *extrinsicDataWrapper)
Returns whether the current tracking pose is valid (the tracking was successful). ...
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_GetHostID(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, char hostID[], unsigned int maxSize)
Copies the host ID of the current machine into the provided buffer as zero terminated string...
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_SetCalibrated(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, bool value)
Sets the calibrated flag of the given IntrinsicDataWrapper object to the given value.
VL_SDK_API bool VL_CALLINGCONVENTION vlGetVersionTimestampString(char versionTimeStamp[], unsigned int maxSize)
Copies the version timestamp of the VisionLib plugin into a buffer.
Definition: vlSDK.h:161
struct vlIntrinsicDataWrapper_s vlIntrinsicDataWrapper_t
Type which represents an IntrinsicDataWrapper.
Definition: vlSDK.h:123
This file contains defines with the VisionLib version.
VL_SDK_API bool VL_CALLINGCONVENTION vlExtrinsicDataWrapper_SetCamPosWorld(vlExtrinsicDataWrapper_t *extrinsicDataWrapper, const float t[], unsigned int elementCount)
Sets the position of the camera in world coordinates.
VL_SDK_API bool VL_CALLINGCONVENTION vlExtrinsicDataWrapper_SetValid(vlExtrinsicDataWrapper_t *extrinsicDataWrapper, bool value)
Sets the valid flag of the given ExtrinsicData.
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetRadialDistortion(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, double k[], unsigned int elementCount)
Retrieves the radial distortion parameters.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_GetLicenseInformation(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, char licenseInfo[], unsigned int maxSize)
Retrieves actual license information as a JSON encoded string.
VL_SDK_API bool VL_CALLINGCONVENTION vlIntrinsicDataWrapper_SetSkewNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper, double value)
Sets the normalized skew of the given IntrinsicDataWrapper object to the given value.
VL_SDK_API unsigned int VL_CALLINGCONVENTION vlImageWrapper_GetBytesPerPixel(vlImageWrapper_t *imageWrapper)
Returns the number of bytes per pixel.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_PushJsonAndBinaryCommand(vlWorker_t *worker, const char jsonString[], const char data[], unsigned int size, vlCallbackJsonAndBinaryString callback, void *clientData)
Enqueues a json command along with binary data for the visionLib.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_PushJsonCommand(vlWorker_t *worker, const char jsonString[], vlCallbackJsonString callback, void *clientData)
Enqueues a command for the tracking thread as zero terminated JSON string.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveIntrinsicDataListener(vlWorker_t *worker, vlCallbackIntrinsicDataWrapper listener, void *clientData)
Unregisters a listener from IntrinsicData events.
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_AddTrackingStateListener(vlWorker_t *worker, vlCallbackZString listener, void *clientData)
Registers a listener for tracking state events.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_GetTrackerType(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, char trackerType[], unsigned int maxSize)
Returns the type of the loaded tracking pipeline.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemovePerformanceInfoListener(vlWorker_t *worker, vlCallbackZString listener, void *clientData)
Unregisters a listener from performance info events.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_PollEvents(vlWorker_t *worker)
Calls the registered listeners for the enqueued events.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_AddAnchorToWorldTransformListener(vlWorker_t *worker, const char anchorName[], vlCallbackExtrinsicDataWrapper listener, void *clientData)
Register a listener for anchor to world transform events (ExtrinsicData events) produced by a certain...
struct vlAbstractApplicationWrapper_s vlAbstractApplicationWrapper_t
Type which represents an AbstractApplicationWrapper.
Definition: vlSDK.h:56
VL_SDK_API void VL_CALLINGCONVENTION vlDelete_IntrinsicDataWrapper(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Deletes an IntrinsicDataWrapper object.
VL_SDK_API bool VL_CALLINGCONVENTION vlExtrinsicDataWrapper_GetR(vlExtrinsicDataWrapper_t *extrinsicDataWrapper, float q[], unsigned int elementCount)
Returns the rotation from the world coordinate system to the camera coordinate system.
Definition: vlSDK.h:142
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_ProcessCallbacks(vlWorker_t *worker)
Executes all enqueued callbacks.
VL_SDK_API unsigned int VL_CALLINGCONVENTION vlImageWrapper_GetFormat(vlImageWrapper_t *imageWrapper)
Returns the internal type of the image.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveNamedImageListener(vlWorker_t *worker, const char key[], vlCallbackImageWrapper listener, void *clientData)
Unregisters a listener from named image events events.
VL_SDK_API bool VL_CALLINGCONVENTION vlClearLogListeners()
Removes all log listeners.
VL_SDK_API bool VL_CALLINGCONVENTION vlImageWrapper_CopyFromBufferWithFormat(vlImageWrapper_t *imageWrapper, const unsigned char buffer[], unsigned int width, unsigned int height, vlImageFormat imageFormat)
Copies the given an formated buffer into the VisionLib image.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_SetNodeExtrinsicDataSync(vlWorker_t *worker, vlExtrinsicDataWrapper_t *extrinsicData, const char node[], const char key[])
Sets the given extrinsicData in the given input of the given node.
VL_SDK_API vlExtrinsicDataWrapper_t *VL_CALLINGCONVENTION vlNew_ExtrinsicDataWrapper()
Creates a new ExtrinsicDataWrapper object and returns a pointer to it.
VL_SDK_API void VL_CALLINGCONVENTION vlDelete_AbstractApplicationWrapper(vlAbstractApplicationWrapper_t *abstractApplicationWrapper)
Deletes an AbstractApplicationWrapper object.
struct vlExtrinsicDataWrapper_s vlExtrinsicDataWrapper_t
Type which represents an ExtrinsicDataWrapper.
Definition: vlSDK.h:114
VL_SDK_API double VL_CALLINGCONVENTION vlIntrinsicDataWrapper_GetFyNorm(vlIntrinsicDataWrapper_t *intrinsicDataWrapper)
Returns the normalized focal length of the intrinsic camera calibration in y direction.
VL_SDK_API void VL_CALLINGCONVENTION vlSetLogBufferSize(unsigned int maxEntries)
Sets the maximum number of log messages in the log buffer.
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveNamedIntrinsicDataListener(vlWorker_t *worker, const char key[], vlCallbackIntrinsicDataWrapper listener, void *clientData)
Unregisters a listener from named IntrinsicData events events.
VL_SDK_API bool VL_CALLINGCONVENTION vlAbstractApplicationWrapper_GetBundleID(vlAbstractApplicationWrapper_t *abstractApplicationWrapper, char bundleID[], unsigned int maxSize)
Copies the bundle ID of the current application into the provided buffer as zero terminated string...
VL_SDK_API bool VL_CALLINGCONVENTION vlWorker_RemoveTrackingStateListener(vlWorker_t *worker, vlCallbackZString listener, void *clientData)
Unregisters a listener from tracking state events.
VL_SDK_API bool VL_CALLINGCONVENTION vlAddLogListener(vlCallbackZString fn, void *clientData)
Registers a log listener.
void(VL_CALLINGCONVENTION * vlCallbackBool)(bool data, void *clientData)
A pointer to a callback function which receives a boolean value as parameter.
Definition: vlSDK.h:187