Background worker that loads source-time-course (.stc) files and prepares per-hemisphere interpolation matrices. More...
#include "../disp3D_global.h"#include <inv/inv_source_estimate.h>#include <QObject>#include <QString>#include <QSharedPointer>#include <Eigen/Sparse>#include <atomic>

Go to the source code of this file.
Classes | |
| class | DISP3DLIB::StcLoadingWorker |
| Background worker that loads source estimate (STC) files and emits loaded data for visualization. More... | |
Namespaces | |
| namespace | DISP3DLIB |
| 3-D brain visualisation using the Qt RHI rendering backend. | |
Background worker that loads source-time-course (.stc) files and prepares per-hemisphere interpolation matrices.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
StcLoadingWorker pulls the LH and RH .stc files from disk in a background thread, parses them into an INVLIB::InvSourceEstimate per hemisphere and builds the sparse vertex-to-source interpolation matrix using GeometryInfo::scdc / Interpolation::createInterpolationMat with a configurable geodesic cancel distance.
On completion the controller signals the GUI to attach the data to the cortical surfaces, after which scrubbing and playback are served by DISP3DLIB::SourceEstimateOverlay without any further I/O.
Definition in file stcloadingworker.h.