cigvis.gui.gui3d.mainwindow module#

3D Viewer main window — modern collapsible sidebar layout.

Layout:

[NavBar 50px] [SlidingDrawer 290px overlay] [3D Vispy Canvas flex]

NavBar tabs:

0 📂 Load 1 🎨 Display 2 📷 Camera 3 📐 Slices 4 🗂 Overlays 5 🤖 SAM (optional)

class cigvis.gui.gui3d.mainwindow.Gui3dWindow(nx: int | None = None, ny: int | None = None, nz: int | None = None, clear_dim: bool = True, data: ndarray | None = None, decode_fn: callable | None = None, theme: str = 'light', nodes: list | None = None, grid: tuple | None = None, share: bool = False, canvas_kwargs: Dict[str, Any] | None = None, parent=None)#

Bases: QMainWindow

Modern 3D seismic viewer with animated collapsible sidebar.

Parameters#

nx, ny, nzint, optional

Pre-set dimensions.

clear_dimbool

Clear dimensions on data clear.

datandarray, optional

Pre-load data on startup.

decode_fncallable, optional

SAM-like inference function. If provided, enables the SAM tab.

property is_drawer_open: bool#
keyPressEvent(event) None#
on_file_dropped(path: str) None#
resizeEvent(event) None#
staticMetaObject = PySide6.QtCore.QMetaObject("Gui3dWindow" inherits "QMainWindow": )#
cigvis.gui.gui3d.mainwindow.Plot3DGuiWindow#

alias of Gui3dWindow

class cigvis.gui.gui3d.mainwindow.SamController(panel: SamPanel, canvas: PlotCanvas3D, decode_fn: callable | None = None)#

Bases: object

Connects the SamPanel UI to the SamLikeVolumeApp logic. Only instantiated when SAM mode is enabled.

activate() None#
clear() None#
deactivate() None#
run() None#
undo() None#
cigvis.gui.gui3d.mainwindow.gui3d(*_args, **_kwargs)#

Removed standalone 3D GUI entry point.

cigvis.gui.gui3d.mainwindow.launch_plot3d_gui(*, nodes: list | None = None, grid: tuple | None = None, share: bool = False, theme: str = 'dark', canvas_kwargs: Dict[str, Any] | None = None, run_app: bool = True) Gui3dWindow#

Launch the retained plot3D(gui=True) PySide6 shell.