adas_configure_viewer()

Dynamically configures an ADAS viewer instance

Synopsis:

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

Arguments:

inst
The instance of the viewer you want to configure.
view
Selects the desired view to use with the viewer.
zoom_factor
Selects the zoom factor to apply to the view.

Library:

libadas

Description:

The instance corresponds to the instance specified for the viewer in the configuration file. Not all views are supported for a given user; call adas_get_supported_views() to get the list of supported views associated with a viewer.

Returns:

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