brain_deer.presentation.qt.scene_3d_controls¶
Sync and route the left-panel 3D Scene controls to the selected file.
Functions¶
|
Primary active file (dropdown / last activated in Files list). |
|
Files that Appearance / Active-Layer controls should edit. |
|
Appearance opacity drives 2D + 3D for the bottom-panel active file. |
|
Apply surface smoothing to bottom-panel target file(s) only (not all layers). |
|
Store material keys on target files and push full per-file materials to 3D. |
|
Debounced 3D Gaussian smoothing for scalar overlay volumes (2D + 3D). |
|
Debounced linear resample for scalar overlay display (2D slices + 3D volume). |
Module Contents¶
- brain_deer.presentation.qt.scene_3d_controls.active_filename(main_window) str | None¶
Primary active file (dropdown / last activated in Files list).
- brain_deer.presentation.qt.scene_3d_controls.target_filenames(main_window) list[str]¶
Files that Appearance / Active-Layer controls should edit.
Prefer the bottom Files list multi-selection. Fall back to the primary active file when nothing is selected.
- brain_deer.presentation.qt.scene_3d_controls.apply_opacity_for_file(main_window, filename: str, opacity_0_1: float, *, sync_appearance_slider: bool = True, update_2d: bool = True) None¶
Appearance opacity drives 2D + 3D for the bottom-panel active file.
- brain_deer.presentation.qt.scene_3d_controls.apply_global_smoothing(main_window, value_0_1: float) None¶
Apply surface smoothing to bottom-panel target file(s) only (not all layers).
- brain_deer.presentation.qt.scene_3d_controls.apply_material_to_targets(main_window, **kwargs) None¶
Store material keys on target files and push full per-file materials to 3D.