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

Real-time MEG / EEG sensor streaming controller that orchestrates the data and field-mapping workers. More...

#include "../disp3D_global.h"
#include <fiff/fiff_evoked.h>
#include <fiff/fiff_coord_trans.h>
#include <QObject>
#include <QVector>
#include <QString>
#include <Eigen/Core>
#include <memory>
Include dependency graph for rtsensordatacontroller.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RtSensorDataController
 Controller for real-time sensor data streaming. More...

Namespaces

namespace  DISP3DLIB
 3-D brain visualisation using the Qt RHI rendering backend.

Detailed Description

Real-time MEG / EEG sensor streaming controller that orchestrates the data and field-mapping workers.

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

RtSensorDataController spins up a background RtSensorDataWorker (queue, averaging, dense mat-vec mapping, ABGR packing) and an optional RtSensorInterpolationMatWorker (asynchronous recomputation of the dense mapping matrix when the sensor configuration, projectors or target surface change) and ties them together with a timer that paces the streaming.

Once started, the controller emits ready-to-upload per-vertex colour buffers; the GUI just connects newSensorColorsAvailable to its surface-colour slot.

Definition in file rtsensordatacontroller.h.