BFModule.Display.clsDisp#
- class BFModule.Display.clsDisp#
Bases:
pybind11_object
A GUI widget used to display bitmap images.
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: BFModule.Display.clsDisp) -> None
__init__(self: BFModule.Display.clsDisp, bufAq: BFModule.BufferAcquisition.clsBufferedAcquisition) -> None
- param BufferAcquisition bufAq:
Acquisition object
Methods
Close
(self)Close the display surface.
Open
(self)Open a display surface.
Update
(*args, **kwargs)Overloaded function.
__init__
(*args, **kwargs)Overloaded function.
Attributes
Check if the display is open.
- Close(self: BFModule.Display.clsDisp) None #
Close the display surface.
- Raises:
RuntimeError – Error closing the display surface.
- Open(self: BFModule.Display.clsDisp) None #
Open a display surface. :raises RuntimeError: Error opening display surface.
- Update(*args, **kwargs)#
Overloaded function.
Update(self: BFModule.Display.clsDisp, buf: numpy.ndarray[numpy.uint8]) -> None
Update the display surface.
- param numpy.array buf:
The buffer to display
- rtype:
void
- raises RuntimeError:
Error updating ImageView display.
Update(self: BFModule.Display.clsDisp, buf: numpy.ndarray[numpy.uint16]) -> None
Update the display surface.
- param numpy.array buf:
The buffer to display
- rtype:
void
- raises RuntimeError:
Error updating ImageView display.