adas_get_viewer_configuration()

Retrieves 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 instance of the viewer of interest.
view
Gets set to the current active view.
zoom_factor
Gets set to the zoom factor applied to the view.

Library:

libadas

Description:

The instance corresponds to the instance specified for the 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.