Skip to main content

Module app

Module app 

Source
Expand description

Top-level egui application: holds shared state and drives the UI.

DicomViewerApp is the single [eframe::App] for the viewer. Everything UI-visible — loaded studies, decoded pixel caches, the viewport grid, annotations, transient error/info banners — lives on this struct. The application is single-threaded; decode runs on the UI thread and we lean on lazy caching plus per-frame work limits (e.g. pump_thumbnails) to keep frame times low.

Structs§

CellState
All viewport state belongs to a cell, so transforms persist when switching layouts and so dragging a different series onto a cell resets only that cell.
DicomViewerApp
The single eframe application.

Enums§

ThumbnailState
Lifecycle of a sidebar series thumbnail.