ReconstructMe SDK  2.0.819-89134
Real-time 3D reconstruction engine
 All Classes Files Functions Typedefs Enumerations Enumerator Groups Pages
functions.h
Go to the documentation of this file.
1 
12 #ifndef REME_FUNCTIONS_H
13 #define REME_FUNCTIONS_H
14 
15 #include "libdef.h"
16 #include "defines.h"
17 #include "types.h"
18 
19 REME_BEGIN_DECLS
20 
31 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
33 
34 
43 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
45 
56 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
57 reme_error_t reme_context_get_version(reme_context_t c, const char **version, int *length);
58 
72 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
74 
92 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
94 
107 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
109 
110 
137 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
139 
140 
157 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
159 
172 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
174 
181 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
183 
200 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
202 
210 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
212 
220 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
222 
238 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
239 reme_error_t reme_license_add_software(reme_context_t c, reme_license_t l, const char *module, int module_length, const char *shash, int shash_length);
240 
254 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
256 
270 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
272 
288 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
290 
298 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
300 
314 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
315 reme_error_t reme_options_set(reme_context_t c, reme_options_t o, const char *field_name, const char *value);
316 
330 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
331 reme_error_t reme_options_set_int(reme_context_t c, reme_options_t o, const char *field_name, int value);
332 
346 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
347 reme_error_t reme_options_set_real(reme_context_t c, reme_options_t o, const char *field_name, float value);
348 
362 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
363 reme_error_t reme_options_set_bool(reme_context_t c, reme_options_t o, const char *field_name, bool value);
364 
380 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
381 reme_error_t reme_options_get(reme_context_t c, reme_options_t o, const char *field_name, char *value, int length, int index = 0);
382 
397 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
398 reme_error_t reme_options_get_int(reme_context_t c, reme_options_t o, const char *field_name, int *value, int index = 0);
399 
414 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
415 reme_error_t reme_options_get_real(reme_context_t c, reme_options_t o, const char *field_name, float *value, int index = 0);
416 
431 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
432 reme_error_t reme_options_get_bool(reme_context_t c, reme_options_t o, const char *field_name, bool *value, int index = 0);
433 
443 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
444 reme_error_t reme_options_get_repeated_count(reme_context_t c, reme_options_t o, const char *field_name, int *length);
445 
462 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
464 
474 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
476 
487 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
488 reme_error_t reme_options_bind_repeated_message(reme_context_t c, reme_options_t o, const char *field_name, int repeated_index, reme_options_t o_nested);
489 
500 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
502 
514 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
516 
529 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
530 reme_error_t reme_options_load_from_string(reme_context_t c, reme_options_t o, const char *message, int length);
531 
543 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
545 
558 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
559 reme_error_t reme_options_save_to_string(reme_context_t c, reme_options_t o, const char **message, int *length);
560 
573 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
574 reme_error_t reme_options_set_bytes(reme_context_t c, reme_options_t o, const void *message, int length);
575 
588 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
589 reme_error_t reme_options_get_bytes(reme_context_t c, reme_options_t o, const void **message, int *length);
590 
605 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
607 
615 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
617 
629 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
631 
645 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
646 reme_error_t reme_volume_get_bytes(reme_context_t c, reme_volume_t v, const void **bytes, int *length);
647 
661 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
662 reme_error_t reme_volume_color_get_bytes(reme_context_t c, reme_volume_t v, const void **bytes, int *length);
663 
680 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
681 reme_error_t reme_volume_slice_get_bytes(reme_context_t c, reme_volume_t v, const int slice, const void **bytes, int *length);
682 
699 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
700 reme_error_t reme_volume_color_slice_get_bytes(reme_context_t c, reme_volume_t v, const int slice, const void **bytes, int *length);
701 
715 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
716 reme_error_t reme_volume_set_bytes(reme_context_t c, reme_volume_t v, const void *bytes, int length);
717 
731 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
732 reme_error_t reme_volume_color_set_bytes(reme_context_t c, reme_volume_t v, const void *bytes, int length);
733 
750 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
751 reme_error_t reme_volume_slice_set_bytes(reme_context_t c, reme_volume_t v, const int slice, const void *bytes, int length);
752 
769 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
770 reme_error_t reme_volume_color_slice_set_bytes(reme_context_t c, reme_volume_t v, const int slice, const void *bytes, int length);
771 
781 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
783 
799 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
801 
835 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
836 reme_error_t reme_transform_look_at(reme_context_t c, const float *eye, const float *ref, const float *up, float *coordinates);
837 
871 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
872 reme_error_t reme_transform_compensate_tilt(reme_context_t c, const float *cur_coordinates, int tilt_angle_diff, float *new_coordinates);
873 
874 
888 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
889 reme_error_t reme_transform_make_relative(reme_context_t c, const float *a_t, const float *b_t, float *c_t);
890 
899 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
900 reme_error_t reme_transform_invert(reme_context_t c, const float *m_t, float *inv_t);
901 
949 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
950 reme_error_t reme_sensor_create(reme_context_t c, const char *driver, bool require_can_open, reme_sensor_t *s);
951 
959 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
961 
971 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
973 
984 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
986 
999 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1001 
1012 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1014 
1032 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1034 
1072 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1074 
1107 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1109 
1122 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1124 
1141 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1143 
1154 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1156 
1168 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1170 
1188 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1190 
1203 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1205 
1229 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1231 
1242 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1243 reme_error_t reme_sensor_set_position(reme_context_t c, reme_sensor_t s, const float *coordinates);
1244 
1245 
1256 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1258 
1276 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1278 
1299 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1301 
1311 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1313 
1332 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1334 
1347 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1348 reme_error_t reme_sensor_is_image_supported(reme_context_t c, reme_sensor_t s, reme_sensor_image_t it, bool *result);
1349 
1374 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1375 reme_error_t reme_sensor_get_points(reme_context_t c, reme_sensor_t s, reme_sensor_view_t v, const float **coordinates, int *length);
1376 
1402 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1403 reme_error_t reme_sensor_get_point_normals(reme_context_t c, reme_sensor_t s, reme_sensor_view_t v, const float **coordinates, int *length);
1404 
1431 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1432 reme_error_t reme_sensor_get_point_colors(reme_context_t c, reme_sensor_t s, reme_sensor_view_t v, const float **channels, int *length);
1433 
1445 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1447 
1463 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1465 
1476 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1478 
1495 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1497 
1514 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1516 
1528 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1530 
1544 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1545 reme_error_t reme_sensor_update_volume_selectively(reme_context_t c, reme_sensor_t s, bool update_surface, bool update_colors);
1546 
1571 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1573 
1587 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1589 
1597 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1599 
1614 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1616 
1630 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1632 
1642 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1644 
1652 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1654 
1664 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1666 
1680 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1682 
1690 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1692 
1707 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1708 reme_error_t reme_image_get_info(reme_context_t c, reme_image_t i, int *width = 0, int *height = 0,
1709  int *num_channels = 0, int *num_bytes_per_channel = 0, int *row_stride = 0);
1710 
1724 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1726 
1740 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1742 
1752 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1753 reme_error_t reme_image_get_bytes(reme_context_t c, reme_image_t i, const void **pixels, int *length);
1754 
1768 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1770 
1778 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1780 
1796 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1798 
1813 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1815 
1824 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1826 
1837 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1838 reme_error_t reme_calibrator_calibrate(reme_context_t c, reme_calibrator_t cb, float *reprojection_error = 0);
1839 
1855 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1857 
1872 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1874 
1882 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1884 
1898 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1900 
1914 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1916 
1930 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1932 
1946 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1948 
1963 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1965 
1975 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1977 
1994 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1996 
2014 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2016 
2027 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2028 reme_error_t reme_surface_transform(reme_context_t c, reme_surface_t s, const float *coordinates);
2029 
2046 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2048 
2061 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2063 
2083 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2084 reme_error_t reme_surface_get_points(reme_context_t c, reme_surface_t s, const float **coordinates, int *length);
2085 
2105 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2106 reme_error_t reme_surface_get_normals(reme_context_t c, reme_surface_t s, const float **coordinates, int *length);
2107 
2130 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2131 reme_error_t reme_surface_get_vertex_colors(reme_context_t c, reme_surface_t s, const float **coordinates, int *length);
2132 
2152 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2153 reme_error_t reme_surface_get_triangles(reme_context_t c, reme_surface_t s, const unsigned int **indices, int *length);
2154 
2169 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2171 
2186 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2188 
2200 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2202 
2210 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2212 
2221 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2223 
2233 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2235 
2245 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2247 
2248 REME_END_DECLS
2249 
2250 #endif