Provides basic inline viewing capatibilities for debugging purposes.
More...
|
typedef int | reme_viewer_t |
| Handle referencing a viewer 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_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_viewer_destroy (reme_context_t c, reme_viewer_t *v) |
| Destroy a previously created viewer object.
|
|
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_viewer_update (reme_context_t c, reme_viewer_t v) |
| Update viewer content.
|
|
reme_error_t | reme_viewer_wait (reme_context_t c, reme_viewer_t v) |
| Update viewer content until the user closes the viewer.
|
|
Provides basic inline viewing capatibilities for debugging purposes.
This module provides basic inline viewing capatibilities for debugging purposes. You should not rely on this functionality in production code. It is meant for debugging and rapid prototype purposes. Viewing will lower the performance of the system. See the example below for basic usage
int time = 0;
}
time += 1;
}
printf("Now generating the mesh.\n");
printf("Note that this will take at least 20 seconds without a valid license.\n");
Handle referencing a viewer object.
Basic viewing of sensor and reconstruction outputs is provided through this SDK as an debugging functionality. You should not rely on its presence, as it might get dropped in later versions of this SDK.
Create viewer for viewing multiple images.
- Parameters
-
c | A valid context object |
title | Window title |
v | A pointer to the resulting viewer object |
- Return values
-
- Examples:
- example_reconstructmesdk_calibration.cpp, example_reconstructmesdk_colorize.cpp, example_reconstructmesdk_image.cpp, example_reconstructmesdk_one_minute.cpp, example_reconstructmesdk_point_and_shoot_with_colors.cpp, example_reconstructmesdk_recorder.cpp, example_reconstructmesdk_scan_tilt.cpp, example_reconstructmesdk_sensor.cpp, example_reconstructmesdk_sensor_multi_independent.cpp, example_reconstructmesdk_sensor_printing.cpp, example_reconstructmesdk_sensor_threaded.cpp, example_reconstructmesdk_surface.cpp, and example_reconstructmesdk_volume.cpp.
Destroy a previously created viewer object.
- Parameters
-
c | A pointer to a valid context object |
v | A mutable pointer to a valid viewer handle to destroy |
- Return values
-
Add image to be displayed.
- Parameters
-
c | A valid context object |
v | A valid viewer object |
i | A valid image object |
- Return values
-
- Examples:
- example_reconstructmesdk_calibration.cpp, example_reconstructmesdk_colorize.cpp, example_reconstructmesdk_image.cpp, example_reconstructmesdk_one_minute.cpp, example_reconstructmesdk_point_and_shoot_with_colors.cpp, example_reconstructmesdk_recorder.cpp, example_reconstructmesdk_scan_tilt.cpp, example_reconstructmesdk_sensor.cpp, example_reconstructmesdk_sensor_multi_independent.cpp, example_reconstructmesdk_sensor_printing.cpp, example_reconstructmesdk_sensor_threaded.cpp, example_reconstructmesdk_surface.cpp, and example_reconstructmesdk_volume.cpp.
Update viewer content.
Updates the content of the given viewer for a single frame.
- Parameters
-
c | A valid context object |
v | A valid viewer object |
- Return values
-
- Examples:
- example_reconstructmesdk_calibration.cpp, example_reconstructmesdk_colorize.cpp, example_reconstructmesdk_image.cpp, example_reconstructmesdk_one_minute.cpp, example_reconstructmesdk_point_and_shoot_with_colors.cpp, example_reconstructmesdk_recorder.cpp, example_reconstructmesdk_scan_tilt.cpp, example_reconstructmesdk_sensor.cpp, example_reconstructmesdk_sensor_multi_independent.cpp, example_reconstructmesdk_sensor_printing.cpp, example_reconstructmesdk_sensor_threaded.cpp, example_reconstructmesdk_surface.cpp, and example_reconstructmesdk_volume.cpp.