Colour-mapped source-time-course overlay that interpolates STC activation onto a cortical mesh and uploads per-vertex RGBA. More...
#include "../disp3D_global.h"#include <inv/inv_source_estimate.h>#include <QVector>#include <QString>#include <QSharedPointer>#include <QHash>#include <QPair>#include <Eigen/Sparse>

Go to the source code of this file.
Classes | |
| class | SourceEstimateOverlay |
| Color-mapped source estimate overlay that interpolates activation values onto a cortical surface mesh. More... | |
Colour-mapped source-time-course overlay that interpolates STC activation onto a cortical mesh and uploads per-vertex RGBA.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
SourceEstimateOverlay loads a pair of .stc files (one per hemisphere), holds the source-time-course matrix and the sparse vertex interpolation matrix produced by GeometryInfo / Interpolation, and for any given time index multiplies the two to obtain a per-vertex activation vector.
The vector is then mapped through a configurable colormap (Hot, Jet, MNE) with adjustable normalisation thresholds (fmin, fmid, fmax) and the resulting ABGR bytes are written into the secondary colour slot of the target BrainSurface — the renderer simply switches VisualizationMode to ModeSourceEstimate and the cortex lights up without any geometry change.
Definition in file sourceestimateoverlay.h.