open3d.visualization.gui.UIImage#
- class open3d.visualization.gui.UIImage#
A bitmap suitable for displaying with ImageWidget
- class Scaling#
Members:
NONE
ANY
ASPECT
- ANY = <Scaling.ANY: 1>#
- ASPECT = <Scaling.ASPECT: 2>#
- NONE = <Scaling.NONE: 0>#
- property value#
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: open3d.cpu.pybind.visualization.gui.UIImage, arg0: str) -> None
Creates a UIImage from the image at the specified path
__init__(self: open3d.cpu.pybind.visualization.gui.UIImage, arg0: open3d.cpu.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