![]() |
Visual Servoing Platform version 3.7.0
|
Functions | |
| Optional[Display] | get_display (Optional[List[str]] preferences=None) |
Variables | |
| dict | VISP_DISPLAY_CLS_MAP |
| list | VISP_DEFAULT_DISPLAY_PREFERENCE = ['x', 'opencv', 'gtk', 'win32', 'gdi'] |
| Optional[Display] get_display | ( | Optional[List[str]] | preferences = None | ) |
Get a new ViSP display instance, dependending on what display driver is available. :param preference: An optional list of preferred backends to use. The backends are tested in the order they are specified, and the first match is instanciated. If preference is None, a default list of display is used. This list contains all basic displays. The specified values are case insensitive and may include. See VISP_DEFAULT_DISPLAY_PREFERENCE for the available options :return: a new instance of a ViSP display if one of the requested backend has been found, None otherwise
Definition at line 81 of file display_utils.py.
| list visp.python.display_utils.VISP_DEFAULT_DISPLAY_PREFERENCE = ['x', 'opencv', 'gtk', 'win32', 'gdi'] |
Definition at line 78 of file display_utils.py.
| dict visp.python.display_utils.VISP_DISPLAY_CLS_MAP |
Definition at line 40 of file display_utils.py.