Background worker that turns queued sensor packets into per-vertex ABGR colour buffers via a dense mapping matrix. More...
#include "../disp3D_global.h"#include <QObject>#include <QList>#include <QMutex>#include <QVector>#include <Eigen/Core>#include <memory>

Go to the source code of this file.
Classes | |
| class | DISP3DLIB::RtSensorDataWorker |
| Background worker for real-time sensor data streaming. More... | |
Namespaces | |
| namespace | DISP3DLIB |
| 3-D brain visualisation using the Qt RHI rendering backend. | |
Background worker that turns queued sensor packets into per-vertex ABGR colour buffers via a dense mapping matrix.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
On every timer tick the worker pops the next packet (or averages the queue), multiplies it by the dense (n_vertices x n_channels) mapping matrix produced by SensorFieldMapper, applies symmetric normalisation around zero, maps through the active MEG / EEG colormap and packs the result as ABGR uint32 ready for direct upload into the target BrainSurface colour slot.
All public setters are mutex-protected so the controller can swap the mapping matrix or change colormap mid-stream.
Definition in file rtsensordataworker.h.