v2.0.0
Loading...
Searching...
No Matches
rtsourceinterpolationmatworker.h File Reference

Background worker that builds the sparse source-to-vertex interpolation matrix for one hemisphere. More...

#include "../disp3D_global.h"
#include <QObject>
#include <QMutex>
#include <QSharedPointer>
#include <QVector>
#include <QMap>
#include <QList>
#include <QString>
#include <vector>
#include <Eigen/Core>
#include <Eigen/SparseCore>
Include dependency graph for rtsourceinterpolationmatworker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISP3DLIB::RtSourceInterpolationMatWorker
 Background worker for computing source interpolation matrices. More...

Namespaces

namespace  FSLIB
 FreeSurfer surface, annotation and parcellation I/O for mne-cpp.
namespace  DISP3DLIB
 3-D brain visualisation using the Qt RHI rendering backend.

Detailed Description

Background worker that builds the sparse source-to-vertex interpolation matrix for one hemisphere.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.0.0
Date
March 2026

Encapsulates the heavy-weight GeometryInfo::scdc (geodesic distance Dijkstra) and Interpolation::createInterpolationMat (distance-based sparse weight build) calls. It supports two VisualizationType modes: InterpolationBased uses the smooth distance kernel, AnnotationBased uses a per-parcel uniform colouring derived from the FreeSurfer annotation so the cortex lights up parcel-by-parcel.

When recomputation finishes the new matrix is emitted to the data worker via a queued connection so no main-thread stall is visible to the user.

Definition in file rtsourceinterpolationmatworker.h.