MlGui

The mlgui object is available only when running QMeshLab with a visible window (desktop app). It is not available in headless pymeshlab.

Methods

MlGui.__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

MlGui.__repr__(self, /)

Return repr(self).

MlGui.apply_camera_state_json(...)

apply_camera_state_json(self, json: str) -> bool

MlGui.apply_render_state_json(...)

apply_render_state_json(self, json: str) -> bool

MlGui.camera_state_json(...)

camera_state_json(self) -> str

MlGui.render_snapshot(...)

render_snapshot(self, render_state_json: str, width: int, height: int) -> bytes

MlGui.render_state_json(...)

render_state_json(self) -> str

MlGui.save_snapshot(...)

save_snapshot(self, path: str, width: int, height: int, render_state_json: str = ‘’) -> None