24#ifndef BRAINVIEW_RTSENSORDATACONTROLLER_H
25#define BRAINVIEW_RTSENSORDATACONTROLLER_H
110 void addData(
const Eigen::VectorXf& data);
120 void setMappingMatrix(
const QString& surfaceKey, std::shared_ptr<Eigen::MatrixXf> mat);
243 const Eigen::MatrixX3f& vertices,
244 const Eigen::MatrixX3f& normals,
245 const Eigen::MatrixX3i& triangles);
255 const Eigen::MatrixX3f& vertices);
282 const QVector<uint32_t>& colors);
301 std::shared_ptr<Eigen::MatrixXf> mappingMat,
302 const QVector<int>& pick);
313 std::shared_ptr<Eigen::MatrixXf> mappingMat,
314 const QVector<int>& pick);
317 void onNewMegMapping(
const QString& surfaceKey,
318 std::shared_ptr<Eigen::MatrixXf> mappingMat,
319 const QVector<int>& pick);
320 void onNewEegMapping(
const QString& surfaceKey,
321 std::shared_ptr<Eigen::MatrixXf> mappingMat,
322 const QVector<int>& pick);
325 QThread* m_pWorkerThread =
nullptr;
327 QTimer* m_pTimer =
nullptr;
328 bool m_bIsStreaming =
false;
329 int m_iTimeInterval = 17;
331 QThread* m_pInterpThread =
nullptr;
Single averaged evoked response: time axis, samples, baseline, channel info and processing history.
4x4 affine FIFF coordinate transform (FIFF_COORD_TRANS) annotated with source/destination coordinate-...
Library export/import macros and namespace marker for the disp3D library.
#define DISP3DSHARED_EXPORT
3-D brain visualisation using the Qt RHI rendering backend.
void newSensorColorsAvailable(const QString &surfaceKey, const QVector< uint32_t > &colors)
void setTransform(const FIFFLIB::FiffCoordTrans &trans, bool applySensorTrans)
void setEegSurface(const QString &surfaceKey, const Eigen::MatrixX3f &vertices)
void setEvoked(const FIFFLIB::FiffEvoked &evoked)
void newEegMappingAvailable(const QString &surfaceKey, std::shared_ptr< Eigen::MatrixXf > mappingMat, const QVector< int > &pick)
void setColormapType(const QString &name)
void newRawSensorDataAvailable(const Eigen::VectorXf &data)
void setMappingMatrix(const QString &surfaceKey, std::shared_ptr< Eigen::MatrixXf > mat)
void setMegFieldMapOnHead(bool onHead)
void setStreamSmoothedData(bool bStreamSmoothedData)
RtSensorDataController(QObject *parent=nullptr)
void newMegMappingAvailable(const QString &surfaceKey, std::shared_ptr< Eigen::MatrixXf > mappingMat, const QVector< int > &pick)
void setNumberAverages(int numAvr)
void setTimeInterval(int msec)
void addData(const Eigen::VectorXf &data)
void setSFreq(double sFreq)
void setMegSurface(const QString &surfaceKey, const Eigen::MatrixX3f &vertices, const Eigen::MatrixX3f &normals, const Eigen::MatrixX3i &triangles)
void setStreamingState(bool state)
void setLoopState(bool enabled)
void setBadChannels(const QStringList &bads)
void setThresholds(double min, double max)
Background worker for real-time sensor data streaming.
Background worker for computing sensor field mapping matrices.
Labelled 4x4 FIFF affine: source frame, destination frame, rotation, translation and cached inverse.
Single averaged evoked response: time axis, data, baseline, channel info and averaging metadata.