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
ASPECT = Scaling.ASPECT
NONE = Scaling.NONE
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: open3d.cpu.pybind.visualization.gui.UIImage, arg0: str) -> None

Creates a UIImage from the image at the specified path

  1. __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