brain_deer.presentation.qt.surface_studio_panel

Automatic surface-scene manager driven by the existing per-file rows.

There is no separate Surface Studio UI. Anatomy you switch on in 3D is the canvas; data you explicitly set to Surface Map render mode drapes onto it. Subcortical atlases use Structure Mesh mode for extracted grey anatomy. All other render modes (Plane, Volume, MIP, …) stay independent and are never suppressed.

Classes

SurfaceStudioController

Assembles and renders the surface scene automatically from the file rows.

Module Contents

class brain_deer.presentation.qt.surface_studio_panel.SurfaceStudioController(main_window)

Assembles and renders the surface scene automatically from the file rows.

snapshot_target_geometry(target_name: str) → bool

Capture the current high-quality target mesh before ownership replaces it.

Projection drapes onto this geometry so the surface keeps the target’s resolution/smoothing — never the source map’s voxel grid.

has_scene_inputs() → bool

Cheap check: is anything switched on in 3D that the surface scene draws?

owns_3d_layer(name: str) → bool

True when this file is rendered by the surface scene, not a raw 3D layer.