adas_get_viewer_configuration()

Updated: May 06, 2022

Retrieve the current configuration of an ADAS viewer instance

Synopsis:

#include <adas/adas_api.h>
adas_error_t adas_get_viewer_configuration(uint32_t inst,
                                           adas_view_t *view,
                                           double *zoom_factor)

Arguments:

inst
The viewer instance of interest.
view
On success, the referenced memory gets set to the current active view (see adas_view_t).
zoom_factor
On success, this memory gets set to the zoom factor applied to the view.

Library:

libadas

Description:

The instance whose configuration is retrieved is the one specified for the given viewer in the configuration file.

Returns:

ADAS_EOK when the function successfully completes, otherwise another adas_error_t value that provides the reason that the call failed.