23#ifndef BRAINVIEW_RTSENSORDATAWORKER_H
24#define BRAINVIEW_RTSENSORDATAWORKER_H
78 void addData(
const Eigen::VectorXf &data);
173 const QVector<uint32_t> &colors);
192 QVector<uint32_t> computeSurfaceColors(
const Eigen::VectorXf &sensorData)
const;
194 mutable QMutex m_mutex;
196 QList<Eigen::VectorXf> m_lDataQ;
197 QList<Eigen::VectorXf> m_lDataLoopQ;
198 Eigen::VectorXf m_vecAverage;
199 int m_iSampleCtr = 0;
200 int m_iCurrentSample = 0;
202 std::shared_ptr<Eigen::MatrixXf> m_mappingMat;
203 QString m_sSurfaceKey;
205 int m_iNumAverages = 1;
206 bool m_bIsLooping =
true;
207 bool m_bStreamSmoothedData =
true;
208 double m_dSFreq = 1000.0;
210 QString m_sColormapType = QStringLiteral(
"MNE");
211 double m_dThreshMin = 0.0;
212 double m_dThreshMax = 0.0;
213 bool m_bUseAutoNorm =
true;
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 setSFreq(double sFreq)
void newRtSensorColors(const QString &surfaceKey, const QVector< uint32_t > &colors)
void setLoopState(bool enabled)
void setThresholds(double min, double max)
void addData(const Eigen::VectorXf &data)
RtSensorDataWorker(QObject *parent=nullptr)
void setMappingMatrix(std::shared_ptr< Eigen::MatrixXf > mat)
void setColormapType(const QString &name)
void setStreamSmoothedData(bool bStreamSmoothedData)
void setNumberAverages(int numAvr)
void newRtRawSensorData(const Eigen::VectorXf &data)