open3d.visualization.gui.UIImage#
- class open3d.visualization.gui.UIImage#
A bitmap suitable for displaying with ImageWidget
- class Scaling(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#
Enum class for UIImage scaling modes.
- ANY = 1#
- ASPECT = 2#
- NONE = 0#
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.pybind.visualization.gui.UIImage, arg0: str) -> None
Creates a UIImage from the image at the specified path
__init__(self: open3d.pybind.visualization.gui.UIImage, arg0: open3d.pybind.geometry.Image) -> None
Creates a UIImage from the provided image
- property scaling#
Sets how the image is scaled: gui.UIImage.Scaling.NONE: no scaling gui.UIImage.Scaling.ANY: scaled to fit gui.UIImage.Scaling.ASPECT: scaled to fit but keeping the image’s aspect ratio