ReconstructMe SDK  2.6.43-0
Real-time 3D reconstruction engine
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 
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 
83 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
84 void reme_default_log_callback(reme_log_severity_t sev, const char *message, void *user_info);
85 
103 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
105 
118 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
120 
121 
148 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
150 
151 
168 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
170 
183 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
185 
192 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
194 
211 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
213 
221 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
223 
231 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
233 
249 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
250 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);
251 
265 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
266 reme_error_t reme_license_add_hardware_collector_hasp(reme_context_t c, reme_license_t l, const char *hasp_vendor_code, int hasp_vendor_code_length, const char *hasp_vendor_dll, int hasp_vendor_dll_length);
267 
279 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
280 reme_error_t reme_license_add_serial_number(reme_context_t c, reme_license_t l, const char *serial_number, int serial_number_length);
281 
282 
295 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
297 
311 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
313 
329 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
331 
339 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
341 
355 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
356 reme_error_t reme_options_set(reme_context_t c, reme_options_t o, const char *field_name, const char *value);
357 
371 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
372 reme_error_t reme_options_set_int(reme_context_t c, reme_options_t o, const char *field_name, int value);
373 
387 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
388 reme_error_t reme_options_set_real(reme_context_t c, reme_options_t o, const char *field_name, float value);
389 
403 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
404 reme_error_t reme_options_set_bool(reme_context_t c, reme_options_t o, const char *field_name, bool value);
405 
421 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
422 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);
423 
438 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
439 reme_error_t reme_options_get_int(reme_context_t c, reme_options_t o, const char *field_name, int *value, int index = 0);
440 
455 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
456 reme_error_t reme_options_get_real(reme_context_t c, reme_options_t o, const char *field_name, float *value, int index = 0);
457 
472 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
473 reme_error_t reme_options_get_bool(reme_context_t c, reme_options_t o, const char *field_name, bool *value, int index = 0);
474 
484 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
485 reme_error_t reme_options_get_repeated_count(reme_context_t c, reme_options_t o, const char *field_name, int *length);
486 
503 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
505 
515 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
517 
528 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
529 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);
530 
541 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
543 
555 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
557 
570 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
571 reme_error_t reme_options_load_from_string(reme_context_t c, reme_options_t o, const char *message, int length);
572 
584 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
586 
599 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
600 reme_error_t reme_options_save_to_string(reme_context_t c, reme_options_t o, const char **message, int *length);
601 
614 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
615 reme_error_t reme_options_set_bytes(reme_context_t c, reme_options_t o, const void *message, int length);
616 
629 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
630 reme_error_t reme_options_get_bytes(reme_context_t c, reme_options_t o, const void **message, int *length);
631 
646 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
648 
656 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
658 
670 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
672 
686 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
687 reme_error_t reme_volume_get_bytes(reme_context_t c, reme_volume_t v, const void **bytes, int *length);
688 
702 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
703 reme_error_t reme_volume_color_get_bytes(reme_context_t c, reme_volume_t v, const void **bytes, int *length);
704 
721 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
722 reme_error_t reme_volume_slice_get_bytes(reme_context_t c, reme_volume_t v, const int slice, const void **bytes, int *length);
723 
740 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
741 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);
742 
756 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
757 reme_error_t reme_volume_set_bytes(reme_context_t c, reme_volume_t v, const void *bytes, int length);
758 
772 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
773 reme_error_t reme_volume_color_set_bytes(reme_context_t c, reme_volume_t v, const void *bytes, int length);
774 
791 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
792 reme_error_t reme_volume_slice_set_bytes(reme_context_t c, reme_volume_t v, const int slice, const void *bytes, int length);
793 
810 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
811 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);
812 
822 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
824 
836 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
837 reme_error_t reme_volume_reset_selectively(reme_context_t c, reme_volume_t v, bool reset_surface, bool reset_colors);
838 
839 
855 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
857 
891 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
892 reme_error_t reme_transform_look_at(reme_context_t c, const float *eye, const float *ref, const float *up, float *coordinates);
893 
927 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
928 reme_error_t reme_transform_compensate_tilt(reme_context_t c, const float *cur_coordinates, int tilt_angle_diff, float *new_coordinates);
929 
930 
944 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
945 reme_error_t reme_transform_make_relative(reme_context_t c, const float *a_t, const float *b_t, float *c_t);
946 
967 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
968 reme_error_t reme_transform_get_projected_angle(reme_context_t c, const float *plane_normal, const float *a_t, const float *b_t, float *angle);
969 
978 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
979 reme_error_t reme_transform_invert(reme_context_t c, const float *m_t, float *inv_t);
980 
990 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
991 reme_error_t reme_transform_multiply(reme_context_t c, const float *a_t, const float *b_t, float *m_t);
992 
1045 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1046 reme_error_t reme_sensor_create(reme_context_t c, const char *driver, bool require_can_open, reme_sensor_t *s);
1047 
1055 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1057 
1067 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1069 
1080 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1082 
1095 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1097 
1108 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1110 
1128 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1130 
1176 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1178 
1216 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1218 
1231 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1233 
1250 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1252 
1263 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1265 
1277 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1279 
1297 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1299 
1312 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1314 
1344 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1346 
1361 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1363 
1374 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1376 
1392 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1393 reme_error_t reme_sensor_get_prescan_position_marker(reme_context_t c, reme_sensor_t s, const float *markerPose, float offset, float *coordinates);
1394 
1405 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1406 reme_error_t reme_sensor_set_position(reme_context_t c, reme_sensor_t s, const float *coordinates);
1407 
1418 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1420 
1438 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1440 
1461 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1463 
1464 
1474 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1476 
1495 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1497 
1510 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1511 reme_error_t reme_sensor_is_image_supported(reme_context_t c, reme_sensor_t s, reme_sensor_image_t it, bool *result);
1512 
1526 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1527 reme_error_t reme_sensor_is_image_updated(reme_context_t c, reme_sensor_t s, reme_sensor_image_t it, bool *result);
1528 
1553 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1554 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);
1555 
1581 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1582 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);
1583 
1610 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1611 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);
1612 
1624 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1626 
1642 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1644 
1655 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1657 
1674 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1676 
1693 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1695 
1707 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1709 
1723 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1724 reme_error_t reme_sensor_update_volume_selectively(reme_context_t c, reme_sensor_t s, bool update_surface, bool update_colors);
1725 
1750 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1752 
1766 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1768 
1776 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1778 
1793 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1795 
1809 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1811 
1821 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1823 
1831 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1833 
1843 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1845 
1859 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1861 
1869 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1871 
1886 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1887 reme_error_t reme_image_get_info(reme_context_t c, reme_image_t i, int *width = 0, int *height = 0,
1888 int *num_channels = 0, int *num_bytes_per_channel = 0, int *row_stride = 0);
1889 
1898 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1900 
1914 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1916 
1930 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1932 
1942 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1943 reme_error_t reme_image_get_bytes(reme_context_t c, reme_image_t i, const void **pixels, int *length);
1944 
1954 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1955 reme_error_t reme_image_get_mutable_bytes(reme_context_t c, reme_image_t i, void **pixels, int *length);
1956 
1970 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1972 
1980 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
1982 
1998 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2000 
2015 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2017 
2026 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2028 
2039 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2040 reme_error_t reme_calibrator_calibrate(reme_context_t c, reme_calibrator_t cb, float *reprojection_error = 0);
2041 
2057 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2059 
2074 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2076 
2084 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2086 
2100 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2102 
2116 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2118 
2132 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2134 
2148 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2150 
2164 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2166 
2181 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2183 
2193 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2195 
2212 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2214 
2229 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2231 
2242 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2244 
2255 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2256 reme_error_t reme_surface_transform(reme_context_t c, reme_surface_t s, const float *coordinates);
2257 
2274 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2276 
2289 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2291 
2311 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2312 reme_error_t reme_surface_get_points(reme_context_t c, reme_surface_t s, const float **coordinates, int *length);
2313 
2333 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2334 reme_error_t reme_surface_get_normals(reme_context_t c, reme_surface_t s, const float **coordinates, int *length);
2335 
2358 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2359 reme_error_t reme_surface_get_vertex_colors(reme_context_t c, reme_surface_t s, const float **coordinates, int *length);
2360 
2379 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2380 reme_error_t reme_surface_get_triangles(reme_context_t c, reme_surface_t s, const size_t **indices, int *length);
2381 
2401 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2403 
2418 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2420 
2435 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2437 
2449 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2451 
2473 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2475 
2476 
2484 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2486 
2495 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2497 
2507 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2509 
2518 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2520 
2530 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2532 
2547 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2549 
2557 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2559 
2574 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2575 reme_error_t reme_csg_update_with_spheres(reme_context_t c, reme_csg_t csg, reme_set_operation_t op, const float *spheres, int numspheres);
2576 
2591 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2592 reme_error_t reme_csg_update_with_boxes(reme_context_t c, reme_csg_t csg, reme_set_operation_t op, const float *boxes, int numboxes);
2593 
2608 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2609 reme_error_t reme_csg_update_with_planes(reme_context_t c, reme_csg_t csg, reme_set_operation_t op, const float *planes, int numplanes);
2610 
2623 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2625 
2636 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2638 
2653 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2655 
2663 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2665 
2681 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2683 
2694 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2696 
2711 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2713 
2730 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2732 
2745 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2747 
2760 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2762 
2779 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2781 
2782 
2799 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2801 
2809 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2811 
2812 
2822 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2823 reme_error_t reme_bag_has_key(reme_context_t c, reme_bag_t b, const char *key, bool *available);
2824 
2836 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2837 reme_error_t reme_bag_get_int(reme_context_t c, reme_bag_t b, const char *key, int *value);
2838 
2850 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2851 reme_error_t reme_bag_get_real(reme_context_t c, reme_bag_t b, const char *key, float *value);
2852 
2853 
2865 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2866 reme_error_t reme_bag_get_bool(reme_context_t c, reme_bag_t b, const char *key, bool *value);
2867 
2880 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2881 reme_error_t reme_bag_get_string(reme_context_t c, reme_bag_t b, const char *key, const char **value);
2882 
2896 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2897 reme_error_t reme_bag_get_bytes(reme_context_t c, reme_bag_t b, const char *key, const void **value, int *length);
2898 
2911 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2913 
2926 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2928 
2941 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2942 reme_error_t reme_bag_get_transform(reme_context_t c, reme_bag_t b, const char *key, const float **values);
2943 
2955 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2957 
2967 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2969 
2977 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2979 
2990 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
2992 
3005 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3006 reme_error_t reme_bag_builder_set_int(reme_context_t c, reme_bag_builder_t bb, const char *key, int value);
3007 
3020 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3021 reme_error_t reme_bag_builder_set_bool(reme_context_t c, reme_bag_builder_t bb, const char *key, bool value);
3022 
3023 
3036 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3037 reme_error_t reme_bag_builder_set_real(reme_context_t c, reme_bag_builder_t bb, const char *key, float value);
3038 
3051 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3052 reme_error_t reme_bag_builder_set_string(reme_context_t c, reme_bag_builder_t bb, const char *key, const char *value);
3053 
3067 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3068 reme_error_t reme_bag_builder_set_bytes(reme_context_t c, reme_bag_builder_t bb, const char *key, const void *value, int valueLength);
3069 
3082 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3083 reme_error_t reme_bag_builder_set_image(reme_context_t c, reme_bag_builder_t bb, const char *key, reme_image_t value, bool compress);
3084 
3096 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3098 
3110 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3111 reme_error_t reme_bag_builder_set_transform(reme_context_t c, reme_bag_builder_t bb, const char *key, float *values);
3112 
3124 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3126 
3138 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3140 
3159 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3161 
3169 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3171 
3190 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3191 reme_error_t reme_remote_bind(reme_context_t c, reme_remote_t r, const char *address);
3192 
3193 
3206 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3207 reme_error_t reme_remote_connect(reme_context_t c, reme_remote_t r, const char *address, int timeout);
3208 
3229 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3231 
3257 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3258 reme_error_t reme_remote_subscribe_advanced(reme_context_t c, reme_remote_t r, const char *topic, const char *group, bool exactTopicMatch, int priority, int maxQueueSize);
3259 
3274 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3275 reme_error_t reme_remote_recv(reme_context_t c, reme_remote_t r, int *topicIndex, const char **topicName, reme_bag_t b, int timeout);
3276 
3291 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3293 
3305 LIBRECONSTRUCTMESDK_LIBRARY_INTERFACE
3307 
3311 
3312 #endif
reme_error_t reme_sensor_open(reme_context_t c, reme_sensor_t s)
Open a sensor.
reme_error_t reme_recorder_close(reme_context_t c, reme_recorder_t r)
Close the recorder file streams.
reme_error_t reme_surface_bind_decimation_options(reme_context_t c, reme_surface_t s, reme_options_t o)
Access the surface decimation options.
reme_error_t reme_marker_detector_apply_options(reme_context_t c, reme_marker_detector_t md, reme_options_t o)
Apply marker detection options.
reme_error_t reme_volume_get_time(reme_context_t c, reme_volume_t v, int *time)
Get the volume time.
reme_error_t reme_license_clear_runtime_info(reme_context_t c, reme_license_t l)
Reset data related to runtime information.
reme_error_t reme_bag_builder_set_transform(reme_context_t c, reme_bag_builder_t bb, const char *key, float *values)
Add a value.
reme_error_t reme_sensor_get_prescan_position(reme_context_t c, reme_sensor_t s, reme_sensor_position_t t, float *coordinates)
Calculate a predefined sensor position with respect to the volume.
reme_error_t reme_options_set(reme_context_t c, reme_options_t o, const char *field_name, const char *value)
Set the value of options field.
reme_error_t reme_options_clear(reme_context_t c, reme_options_t o)
Clear options.
int reme_license_t
Handle referencing a license object.
Definition: types.h:95
reme_error_t reme_sensor_track_position(reme_context_t c, reme_sensor_t s)
Attempts to track the sensor position.
reme_error_t reme_csg_create(reme_context_t c, reme_volume_t v, reme_csg_t *csg)
Create a new CSG module for performing boolean set operations.
reme_error_t reme_sensor_set_trackhint(reme_context_t c, reme_sensor_t s, reme_sensor_trackhint_t t)
Sets a tracking hint.
reme_error_t reme_bag_builder_finalize(reme_context_t c, reme_bag_builder_t bb, reme_bag_t b)
Finalizes the building process and creates a serialized bag.
reme_error_t reme_recorder_open(reme_context_t c, reme_recorder_t r)
Open the recorder for streaming.
reme_error_t reme_volume_create(reme_context_t c, reme_volume_t *v)
Create a new reme_volume_t object.
reme_error_t reme_license_add_serial_number(reme_context_t c, reme_license_t l, const char *serial_number, int serial_number_length)
Add serial number for validation.
reme_error_t reme_bag_get_bool(reme_context_t c, reme_bag_t b, const char *key, bool *value)
Read a value.
reme_error_t reme_surface_inpaint_vertices(reme_context_t c, reme_surface_t s)
Paint missing vertex colors.
int reme_calibrator_t
Handle referencing a calibrator.
Definition: types.h:264
reme_error_t reme_volume_color_set_bytes(reme_context_t c, reme_volume_t v, const void *bytes, int length)
Sets the content of the color volume to the given array of bytes.
reme_error_t reme_options_save_to_file(reme_context_t c, reme_options_t o, const char *filename)
Save options in a human readable file format.
reme_error_t reme_image_destroy(reme_context_t c, reme_image_t *i)
Destroy a previously created image object.
reme_error_t reme_context_bind_error_info(reme_context_t c, reme_options_t o)
Access current error state.
reme_error_t reme_sensor_set_recovery_position(reme_context_t c, reme_sensor_t s, const float *coordinates)
Set the sensor recovery position with respect to the world coordinate frame.
enum _reme_transform reme_transform_t
Predefined transform enumeration.
reme_error_t reme_bag_builder_set_real(reme_context_t c, reme_bag_builder_t bb, const char *key, float value)
Add a value.
reme_error_t reme_options_save_to_string(reme_context_t c, reme_options_t o, const char **message, int *length)
Get options as string using a human readable serialization.
reme_error_t reme_sensor_prepare_image(reme_context_t c, reme_sensor_t s, _reme_sensor_image_t i)
Retrieve specific image data for subsequent processing.
reme_error_t reme_volume_set_bytes(reme_context_t c, reme_volume_t v, const void *bytes, int length)
Sets the content of the volume to the given array of bytes.
reme_error_t reme_image_create(reme_context_t c, reme_image_t *i)
Create a new empty image object.
reme_error_t reme_sensor_update_volume_selectively(reme_context_t c, reme_sensor_t s, bool update_surface, bool update_colors)
Update the volume using the current sensor data selectively.
void reme_default_log_callback(reme_log_severity_t sev, const char *message, void *user_info)
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)
Add licensed software.
reme_error_t reme_bag_builder_set_surface(reme_context_t c, reme_bag_builder_t bb, const char *key, reme_surface_t s)
Add a value.
reme_error_t reme_remote_recv(reme_context_t c, reme_remote_t r, int *topicIndex, const char **topicName, reme_bag_t b, int timeout)
Try receive from any of the subscribed topics.
reme_error_t reme_surface_get_normals(reme_context_t c, reme_surface_t s, const float **coordinates, int *length)
Get point normals of a surface.
reme_error_t reme_context_get_version(reme_context_t c, const char **version, int *length)
Get the ReconstructMe SDK version string.
int reme_remote_t
Handle referencing a remote control object.
Definition: types.h:349
reme_error_t reme_csg_update_with_surface(reme_context_t c, reme_csg_t csg, reme_set_operation_t op, reme_surface_t s)
Perform boolean set operation on the volume and a freeform solid mesh.
reme_error_t reme_context_tune_reconstruction_options(reme_context_t c, reme_tune_profile_t profile)
Auto-tune reconstruction settings.
reme_error_t reme_calibrator_destroy(reme_context_t c, reme_calibrator_t *cb)
Destroy a previously created calibrator object.
reme_error_t reme_recorder_create(reme_context_t c, reme_recorder_t *r)
Create a new sensor recorder object.
reme_error_t reme_options_set_bool(reme_context_t c, reme_options_t o, const char *field_name, bool value)
Set a specific boolean options field.
reme_error_t reme_calibrator_get_detection_image(reme_context_t c, reme_calibrator_t cb, reme_image_t i)
Receives the result image of the last image added.
reme_error_t reme_sensor_bind_capture_options(reme_context_t c, reme_sensor_t s, reme_options_t o)
Access the sensor specific capture options with their current values.
reme_error_t reme_image_load_from_file(reme_context_t c, reme_image_t i, const char *filename)
Load image from disk.
reme_error_t reme_surface_cleanup(reme_context_t c, reme_surface_t s)
Cleanup the extracted surface.
reme_error_t reme_surface_load_from_file(reme_context_t c, reme_surface_t s, const char *filename)
Import surface from file.
enum _reme_sensor_trackmode_t reme_sensor_trackmode_t
Sensor tracking mode.
reme_error_t reme_sensor_update_volume(reme_context_t c, reme_sensor_t s)
Update the volume using the current sensor data.
reme_error_t reme_transform_set_predefined(reme_context_t c, reme_transform_t t, float *coordinates)
Set the matrix to a predefined transform.
reme_error_t reme_bag_get_bytes(reme_context_t c, reme_bag_t b, const char *key, const void **value, int *length)
Read a value.
reme_error_t reme_sensor_create(reme_context_t c, const char *driver, bool require_can_open, reme_sensor_t *s)
Create a new sensor object.
reme_error_t reme_remote_create(reme_context_t c, reme_remote_t *r)
Create a remote object.
reme_error_t reme_sensor_get_track_time(reme_context_t c, reme_sensor_t s, int *track_time)
Get the tracking time.
reme_error_t reme_sensor_find_floor(reme_context_t c, reme_sensor_t s, float *coordinates)
Detect floor plane in current sensor data.
reme_error_t reme_surface_bind_poisson_options(reme_context_t c, reme_surface_t s, reme_options_t o)
Access the poisson reconstruction options.
reme_error_t reme_bag_get_transform(reme_context_t c, reme_bag_t b, const char *key, const float **values)
Read a value.
reme_error_t reme_bag_builder_clear(reme_context_t c, reme_bag_builder_t bb)
Clear bag builder.
reme_error_t reme_image_get_mutable_bytes(reme_context_t c, reme_image_t i, void **pixels, int *length)
Get mutable image pixel data as byte array.
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)
Bind options object to a nested repeated message.
reme_error_t reme_bag_builder_set_int(reme_context_t c, reme_bag_builder_t bb, const char *key, int value)
Add a value.
reme_error_t reme_bag_builder_create(reme_context_t c, reme_bag_builder_t *bb)
Create a bag builder.
reme_error_t reme_sensor_destroy(reme_context_t c, reme_sensor_t *s)
Destroy a previously created sensor object.
int reme_bag_t
Handle referencing a bag object.
Definition: types.h:326
reme_error_t reme_bag_get_surface(reme_context_t c, reme_bag_t b, const char *key, reme_surface_t s)
Read a value.
reme_error_t reme_sensor_grab(reme_context_t c, reme_sensor_t s)
Trigger frame grabbing.
reme_error_t reme_marker_detector_draw_info(reme_context_t c, reme_marker_detector_t md, int index, reme_image_t image)
Draw marker info.
reme_error_t reme_bag_get_image(reme_context_t c, reme_bag_t b, const char *key, reme_image_t value)
Read a value.
reme_error_t reme_csg_destroy(reme_context_t c, reme_csg_t *csg)
Destroy a previously created CSG object.
reme_error_t reme_volume_color_get_bytes(reme_context_t c, reme_volume_t v, const void **bytes, int *length)
Returns the content of the color volume as an array of bytes.
reme_error_t reme_sensor_bind_camera_options(reme_context_t c, reme_sensor_t s, reme_options_t o)
Access the sensor specific options that affect how the camera is opened.
reme_error_t reme_viewer_create_surface(reme_context_t c, reme_surface_t s, const char *title, reme_viewer_t *v)
Create viewer for specific surface.
reme_error_t reme_volume_reset(reme_context_t c, reme_volume_t v)
Reset the volume to empty state.
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)
Returns the content of a specific slice ("xy-plane") of the color volume as an array of bytes...
reme_error_t reme_license_bind_hardware_hashes(reme_context_t c, reme_license_t l, reme_options_t o)
Access hardware hashes for generating single user licenses bound to specific hardware.
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)
Get the value of an options field as string.
reme_error_t reme_image_save_to_file(reme_context_t c, reme_image_t i, const char *filename)
Save the image in the desired format.
reme_error_t reme_bag_has_key(reme_context_t c, reme_bag_t b, const char *key, bool *available)
Test if a certain key is present in the map.
reme_error_t reme_marker_detector_find(reme_context_t c, reme_marker_detector_t md, int *nmarkers)
Detect markers in sensor image.
reme_error_t reme_bag_builder_set_string(reme_context_t c, reme_bag_builder_t bb, const char *key, const char *value)
Add a value.
_reme_sensor_image_t
Image type enumeration.
Definition: types.h:135
reme_error_t reme_recorder_set_sensor(reme_context_t c, reme_recorder_t r, reme_sensor_t s)
Set the sensor to record from.
reme_error_t reme_options_get_real(reme_context_t c, reme_options_t o, const char *field_name, float *value, int index=0)
Get the value of a real options field.
reme_error_t reme_options_set_int(reme_context_t c, reme_options_t o, const char *field_name, int value)
Set a specific integer options field.
reme_error_t reme_sensor_get_prescan_position_infront(reme_context_t c, reme_sensor_t s, float offset, float *coordinates)
Helper function to calculate a sensor position.
reme_error_t reme_image_get_bytes(reme_context_t c, reme_image_t i, const void **pixels, int *length)
Get image pixel data as byte array.
reme_error_t reme_bag_builder_set_image(reme_context_t c, reme_bag_builder_t bb, const char *key, reme_image_t value, bool compress)
Add a value.
reme_error_t reme_sensor_is_image_supported(reme_context_t c, reme_sensor_t s, reme_sensor_image_t it, bool *result)
Test if a specific image type is available.
reme_error_t reme_bag_builder_destroy(reme_context_t c, reme_bag_builder_t *bb)
Destroy a previously created bag object.
reme_error_t reme_csg_update_with_spheres(reme_context_t c, reme_csg_t csg, reme_set_operation_t op, const float *spheres, int numspheres)
Perform boolean set operation on the volume and one or more spheres.
reme_error_t reme_sensor_get_recovery_position(reme_context_t c, reme_sensor_t s, float *coordinates)
Get the sensor recovery position with respect to the world coordinate frame.
int reme_csg_t
Handle referencing a CSG object.
Definition: types.h:294
reme_error_t reme_image_get_info(reme_context_t c, reme_image_t i, int *width=0, int *height=0, int *num_channels=0, int *num_bytes_per_channel=0, int *row_stride=0)
Get image information such as size, channels and layout.
reme_error_t reme_bag_get_int(reme_context_t c, reme_bag_t b, const char *key, int *value)
Read a value.
#define REME_END_DECLS
Define for c++.
Definition: defines.h:41
reme_error_t reme_options_get_bool(reme_context_t c, reme_options_t o, const char *field_name, bool *value, int index=0)
Get the value of a boolean options field.
reme_error_t reme_options_load_from_string(reme_context_t c, reme_options_t o, const char *message, int length)
Set options by loading a human readable options representation from a given string.
reme_error_t reme_sensor_get_prescan_position_center(reme_context_t c, reme_sensor_t s, float *coordinates)
Helper function to calculate a sensor position.
reme_error_t reme_sensor_reset(reme_context_t c, reme_sensor_t s)
Resets the sensor to identity position.
reme_error_t reme_transform_make_relative(reme_context_t c, const float *a_t, const float *b_t, float *c_t)
Calculate the relative transform between two coordinate frames.
reme_error_t reme_options_set_bytes(reme_context_t c, reme_options_t o, const void *message, int length)
Set options by reading a binary options representation.
reme_error_t reme_transform_multiply(reme_context_t c, const float *a_t, const float *b_t, float *m_t)
Multiply two transforms.
reme_error_t reme_remote_bind(reme_context_t c, reme_remote_t r, const char *address)
Launch a broker service at a specific address.
reme_error_t reme_context_bind_reconstruction_options(reme_context_t c, reme_options_t o)
Access the reconstruction options.
reme_error_t reme_transform_look_at(reme_context_t c, const float *eye, const float *ref, const float *up, float *coordinates)
Defines a viewing transformation.
reme_error_t reme_options_set_real(reme_context_t c, reme_options_t o, const char *field_name, float value)
Set a specific real options field.
reme_error_t reme_sensor_get_prescan_position_marker(reme_context_t c, reme_sensor_t s, const float *markerPose, float offset, float *coordinates)
Helper function to calculate a sensor position.
reme_error_t reme_context_create(reme_context_t *c)
Create a new reme_context_t object.
reme_error_t reme_sensor_set_incremental_position(reme_context_t c, reme_sensor_t s, const float *coordinates)
Set the incremental movement of the sensor.
reme_error_t reme_bag_get_string(reme_context_t c, reme_bag_t b, const char *key, const char **value)
Read a value.
reme_error_t reme_bag_get_sensor_config(reme_context_t c, reme_bag_t b, const char *key, reme_sensor_t s)
Read a value.
reme_error_t reme_remote_subscribe_advanced(reme_context_t c, reme_remote_t r, const char *topic, const char *group, bool exactTopicMatch, int priority, int maxQueueSize)
Subscribe to a topic.
reme_error_t reme_surface_bind_cleanup_options(reme_context_t c, reme_surface_t s, reme_options_t o)
Access the surface cleanup options.
reme_error_t reme_surface_create(reme_context_t c, reme_surface_t *s)
Create a new surface object.
reme_error_t reme_transform_compensate_tilt(reme_context_t c, const float *cur_coordinates, int tilt_angle_diff, float *new_coordinates)
Compensate a tilt movement.
reme_error_t reme_marker_detector_generate_template_image(reme_context_t c, reme_marker_detector_t md, int marker_id, reme_image_t image)
Get a marker template image that can be used for printing.
reme_error_t reme_viewer_add_image(reme_context_t c, reme_viewer_t v, reme_image_t i)
Add image to be displayed.
reme_error_t reme_license_add_hardware_collector_hasp(reme_context_t c, reme_license_t l, const char *hasp_vendor_code, int hasp_vendor_code_length, const char *hasp_vendor_dll, int hasp_vendor_dll_length)
Add Sentinel HASP dongle collector.
reme_error_t reme_viewer_destroy(reme_context_t c, reme_viewer_t *v)
Destroy a previously created viewer object.
reme_error_t reme_options_destroy(reme_context_t c, reme_options_t *o)
Destroy a previously created options object.
reme_error_t reme_viewer_create_image(reme_context_t c, const char *title, reme_viewer_t *v)
Create viewer for viewing multiple images.
reme_error_t reme_surface_generate(reme_context_t c, reme_surface_t s, reme_volume_t v)
Extract the iso-surface from the given volume.
reme_error_t reme_image_copy(reme_context_t c, reme_image_t src, reme_image_t dst)
Copy content of one image to another.
void(* reme_log_callback_t)(reme_log_severity_t sev, const char *message, void *user_info)
Callback function prototype to receive logging information.
Definition: types.h:87
int reme_options_t
Handle referencing an options object.
Definition: types.h:116
reme_error_t reme_surface_poisson(reme_context_t c, reme_surface_t s)
Perform poisson reconstruction on the extracted surface.
reme_error_t reme_options_get_bytes(reme_context_t c, reme_options_t o, const void **message, int *length)
Get options by serializing them in a binary options representation.
int reme_bag_builder_t
Handle referencing a bag builder object.
Definition: types.h:335
reme_error_t reme_context_destroy(reme_context_t *c)
Destroy a previously created reme_context_t object.
reme_error_t reme_recorder_update(reme_context_t c, reme_recorder_t r)
Update the associated file streams with the current sensor content.
reme_error_t reme_surface_decimate(reme_context_t c, reme_surface_t s)
Decimate the extracted surface.
reme_error_t reme_bag_builder_set_bool(reme_context_t c, reme_bag_builder_t bb, const char *key, bool value)
Add a value.
reme_error_t reme_sensor_is_image_updated(reme_context_t c, reme_sensor_t s, reme_sensor_image_t it, bool *result)
Test if a specific image type was updated since the last call to reme_sensor_prepare_images, reme_sensor_prepare_image.
reme_error_t reme_context_print_errors(reme_context_t c)
Print all errors to standard error output and reset errors.
reme_error_t reme_surface_destroy(reme_context_t c, reme_surface_t *s)
Destroy a previously created surface object.
enum _reme_error reme_error_t
Status enumeration.
reme_error_t reme_options_create(reme_context_t c, reme_options_t *o)
Create a new options binding.
reme_error_t reme_options_bind_message(reme_context_t c, reme_options_t o, const char *field_name, reme_options_t o_nested)
Bind options object to a nested message.
reme_error_t reme_transform_get_projected_angle(reme_context_t c, const float *plane_normal, const float *a_t, const float *b_t, float *angle)
Calculate the signed projected angle in radians between two sensor positions in a given plane...
reme_error_t reme_options_load_from_file(reme_context_t c, reme_options_t o, const char *filename)
Set options by loading a human readable options representation from file.
reme_error_t reme_volume_slice_get_bytes(reme_context_t c, reme_volume_t v, const int slice, const void **bytes, int *length)
Returns the content of a specific slice ("xy-plane") of the volume as an array of bytes...
reme_error_t reme_sensor_close(reme_context_t c, reme_sensor_t s)
Close a an open sensor.
reme_error_t reme_marker_detector_bind_options(reme_context_t c, reme_marker_detector_t md, reme_options_t o)
Access the marker detection options.
reme_error_t reme_remote_notify(reme_context_t c, reme_remote_t r, const char *topic)
Send empty message to topic.
reme_error_t reme_sensor_set_volume(reme_context_t c, reme_sensor_t s, reme_volume_t v)
Set the working volume.
reme_error_t reme_surface_remesh(reme_context_t c, reme_surface_t s)
Remesh the extracted surface.
reme_error_t reme_calibrator_calibrate(reme_context_t c, reme_calibrator_t cb, float *reprojection_error=0)
Calibrate using the images added before.
reme_error_t reme_recorder_destroy(reme_context_t c, reme_recorder_t *r)
Destroy a previously created recorder object.
reme_error_t reme_sensor_apply_render_options(reme_context_t c, reme_sensor_t s, reme_options_t o)
Apply render options.
reme_error_t reme_csg_close_volume_borders(reme_context_t c, reme_csg_t csg)
Make sure that volume borders are closed.
reme_error_t reme_context_bind_opencl_info(reme_context_t c, reme_options_t o)
Access platform OpenCL information.
reme_error_t reme_calibrator_bind_intrinsics(reme_context_t c, reme_calibrator_t cb, reme_options_t o)
Access the calibration results.
reme_error_t reme_sensor_prepare_images(reme_context_t c, reme_sensor_t s)
Retrieve image data corresponding to the previous grab command for further processing.
#define REME_BEGIN_DECLS
Define for c++.
Definition: defines.h:39
reme_error_t reme_surface_get_vertex_colors(reme_context_t c, reme_surface_t s, const float **coordinates, int *length)
Get colors of surface vertices.
reme_error_t reme_sensor_set_prescan_position(reme_context_t c, reme_sensor_t s, reme_sensor_position_t t)
Position the sensor and volume with respect to each other using a predefined position.
reme_error_t reme_license_authenticate(reme_context_t c, reme_license_t l, const char *license)
Authenticate using the given license file and any specified runtime data.
enum _reme_sensor_trackhint_t reme_sensor_trackhint_t
Sensor tracking hint.
reme_error_t reme_license_destroy(reme_context_t c, reme_license_t *l)
Destroy a previously created license object.
reme_error_t reme_sensor_get_position(reme_context_t c, reme_sensor_t s, float *coordinates)
Get the sensor position with respect to the world coordinate frame.
reme_error_t reme_surface_bind_remesh_options(reme_context_t c, reme_surface_t s, reme_options_t o)
Access the surface remeshing options.
reme_error_t reme_sensor_bind_render_options(reme_context_t c, reme_sensor_t s, reme_options_t o)
Access the sensor specific render options.
reme_error_t reme_marker_detector_get_position(reme_context_t c, reme_marker_detector_t md, int index, float *coordinates)
Get position of the i-th marker detected.
reme_error_t reme_context_set_log_callback(reme_context_t c, reme_log_callback_t lc, void *user_data=0)
Set the logging callback.
reme_error_t reme_sensor_set_position(reme_context_t c, reme_sensor_t s, const float *coordinates)
Set the sensor position with respect to the world coordinate frame.
reme_error_t reme_viewer_update(reme_context_t c, reme_viewer_t v)
Update viewer content.
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)
Sets the content of a slice ("xy-plane") of the color volume to the given array of bytes...
reme_error_t reme_remote_subscribe(reme_context_t c, reme_remote_t r, const char *topic)
Listen to topics.
reme_error_t reme_volume_reset_selectively(reme_context_t c, reme_volume_t v, bool reset_surface, bool reset_colors)
Reset the volume to empty state with options.
reme_error_t reme_viewer_is_closed(reme_context_t c, reme_viewer_t v, bool *closed)
Test if the viewer is closed.
reme_error_t reme_options_copy(reme_context_t c, reme_options_t o_src, reme_options_t o_dst)
Copy the content of the source options to the destination options.
reme_error_t reme_recorder_bind_file_options(reme_context_t c, reme_recorder_t r, reme_options_t o)
Access the recorder specific file options.
int reme_surface_t
Handle referencing a surface object.
Definition: types.h:246
reme_error_t reme_options_get_int(reme_context_t c, reme_options_t o, const char *field_name, int *value, int index=0)
Get the value of an integer options field.
reme_error_t reme_surface_get_triangles(reme_context_t c, reme_surface_t s, const size_t **indices, int *length)
Get triangle faces of a surface.
reme_error_t reme_sensor_set_trackmode(reme_context_t c, reme_sensor_t s, reme_sensor_trackmode_t t)
Set tracking mode.
reme_error_t reme_viewer_wait(reme_context_t c, reme_viewer_t v)
Update viewer content until the user closes the viewer.
reme_error_t reme_calibrator_create(reme_context_t c, reme_calibrator_t *cb)
Create a new calibration object.
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)
Get point colors corresponding to the current sensor view.
reme_error_t reme_remote_send(reme_context_t c, reme_remote_t r, const char *topic, reme_bag_t b)
Send data to topic.
reme_error_t reme_remote_connect(reme_context_t c, reme_remote_t r, const char *address, int timeout)
Connect to a broker service.
reme_error_t reme_surface_save_to_file(reme_context_t c, reme_surface_t s, const char *filename)
Export the surface to file.
reme_error_t reme_surface_transform(reme_context_t c, reme_surface_t s, const float *coordinates)
Transform the surface.
reme_error_t reme_surface_colorize_vertices(reme_context_t c, reme_surface_t s, reme_volume_t v)
Colorize surface vertices using the color information stored in the reconstruction volume...
reme_error_t reme_sensor_apply_capture_options(reme_context_t c, reme_sensor_t s, reme_options_t o)
Apply capture options.
reme_error_t reme_volume_slice_set_bytes(reme_context_t c, reme_volume_t v, const int slice, const void *bytes, int length)
Sets the content of a slice ("xy-plane") of the volume to the given array of bytes.
reme_error_t reme_bag_builder_set_bytes(reme_context_t c, reme_bag_builder_t bb, const char *key, const void *value, int valueLength)
Add a value.
reme_error_t reme_viewer_create_volume(reme_context_t c, reme_volume_t vol, reme_sensor_t s, const char *title, reme_viewer_t *v)
Create viewer for specific volume.
reme_error_t reme_marker_detector_destroy(reme_context_t c, reme_marker_detector_t *md)
Destroy a previously created marker detector object.
int reme_marker_detector_t
Handle referencing a marker detector object.
Definition: types.h:317
reme_error_t reme_sensor_get_image(reme_context_t c, reme_sensor_t s, reme_sensor_image_t it, reme_image_t i)
Get a specific sensor image.
enum _reme_tune_profile reme_tune_profile_t
Auto-tuning profiles.
reme_error_t reme_sensor_get_incremental_position(reme_context_t c, reme_sensor_t s, float *coordinates)
Get the incremental movement of the sensor.
reme_error_t reme_bag_get_real(reme_context_t c, reme_bag_t b, const char *key, float *value)
Read a value.
reme_error_t reme_calibrator_bind_options(reme_context_t c, reme_calibrator_t cb, reme_options_t o)
Access the calibration options.
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)
Get points corresponding to the current sensor view.
reme_error_t reme_volume_get_bytes(reme_context_t c, reme_volume_t v, const void **bytes, int *length)
Returns the content of the volume as an array of bytes.
enum _reme_sensor_view_t reme_sensor_view_t
Sensor view type.
reme_error_t reme_transform_invert(reme_context_t c, const float *m_t, float *inv_t)
Invert the given transformation.
enum _reme_log_severity reme_log_severity_t
Logging severity levels.
reme_error_t reme_bag_destroy(reme_context_t c, reme_bag_t *b)
Destroy a previously created bag object.
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)
Get point normals corresponding to the current sensor view.
reme_error_t reme_bag_create(reme_context_t c, reme_bag_t *b)
Create a bag.
reme_error_t reme_options_get_repeated_count(reme_context_t c, reme_options_t o, const char *field_name, int *length)
Return the number of elements in a repeated field.
reme_error_t reme_license_create(reme_context_t c, reme_license_t *l)
Creates a new license object.
reme_error_t reme_marker_detector_create(reme_context_t c, reme_sensor_t s, reme_marker_detector_t *md)
Create a new marker detector.
enum _reme_sensor_position_t reme_sensor_position_t
Predefined sensor position.
reme_error_t reme_surface_bind_generation_options(reme_context_t c, reme_surface_t s, reme_options_t o)
Access the surface generation options.
reme_error_t reme_context_compile(reme_context_t c)
Compile OpenCL related kernels.
reme_error_t reme_volume_destroy(reme_context_t c, reme_volume_t *v)
Destroy a previously created volume object.
reme_error_t reme_csg_update_with_boxes(reme_context_t c, reme_csg_t csg, reme_set_operation_t op, const float *boxes, int numboxes)
Perform boolean set operation on the volume and one or more boxes.
reme_error_t reme_csg_update_with_planes(reme_context_t c, reme_csg_t csg, reme_set_operation_t op, const float *planes, int numplanes)
Perform boolean set operation on the volume and one or more planes.
enum _reme_set_operation_t reme_set_operation_t
Enumeration of available CSG set operations.
reme_error_t reme_calibrator_add_image(reme_context_t c, reme_calibrator_t cb, reme_image_t i)
Add a new image of the calibration target.
reme_error_t reme_surface_get_points(reme_context_t c, reme_surface_t s, const float **coordinates, int *length)
Get points of a surface.
reme_error_t reme_marker_detector_get_class_id(reme_context_t c, reme_marker_detector_t md, int index, int *id)
Get the class-id of the i-th marker detected.
int reme_recorder_t
Handle referencing a sensor recorder object.
Definition: types.h:237
reme_error_t reme_remote_destroy(reme_context_t c, reme_remote_t *r)
Destroy a previously created remote object.
reme_error_t reme_bag_builder_set_sensor_config(reme_context_t c, reme_bag_builder_t bb, const char *key, reme_sensor_t s)
Add a value.