26#ifndef SENSORFIELDMAPPER_H
27#define SENSORFIELDMAPPER_H
125 m_megOnHead = onHead;
214 bool buildMapping(
const QMap<QString, std::shared_ptr<BrainSurface>>& surfaces,
216 bool applySensorTrans);
229 void apply(QMap<QString, std::shared_ptr<BrainSurface>>& surfaces,
231 const QVector<SubView>& subViews);
239 return m_megSurfaceKey;
247 return m_eegSurfaceKey;
262 static QString findHeadSurfaceKey(
const QMap<QString, std::shared_ptr<BrainSurface>>& surfaces);
270 static QString findHelmetSurfaceKey(
const QMap<QString, std::shared_ptr<BrainSurface>>& surfaces);
280 static float contourStep(
float minVal,
float maxVal,
int targetTicks);
296 float* radius =
nullptr);
314 void computeNormRange();
332 void updateContourSurfaces(QMap<QString, std::shared_ptr<BrainSurface>>& surfaces,
333 const QString& prefix,
335 const QVector<float>& values,
343 bool m_loaded =
false;
345 bool m_megOnHead =
false;
346 QString m_colormap = QStringLiteral(
"MNE");
348 QString m_megSurfaceKey;
349 QString m_eegSurfaceKey;
350 QString m_megContourPrefix = QStringLiteral(
"sens_contour_meg");
351 QString m_eegContourPrefix = QStringLiteral(
"sens_contour_eeg");
353 Eigen::VectorXi m_megPick;
354 Eigen::VectorXi m_eegPick;
355 std::vector<Eigen::Vector3f> m_megPositions;
356 std::vector<Eigen::Vector3f> m_eegPositions;
357 std::shared_ptr<Eigen::MatrixXf> m_megMapping;
358 std::shared_ptr<Eigen::MatrixXf> m_eegMapping;
360 float m_megVmax = 0.0f;
361 float m_eegVmax = 0.0f;
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
Per-viewport state (camera preset, zoom, pan, visibility filter) and serialisation helpers.
3-D brain visualisation using the Qt RHI rendering backend.
Viewport subdivision holding its own camera, projection, and scissor rectangle.
Renderable cortical surface mesh with per-vertex color, curvature data, and GPU buffer management.
void setMegFieldMapOnHead(bool onHead)
void setColormap(const QString &name)
const Eigen::VectorXi & megPick() const
const Eigen::VectorXi & eegPick() const
const QString & eegSurfaceKey() const
void setEvoked(const FIFFLIB::FiffEvoked &evoked)
std::shared_ptr< Eigen::MatrixXf > eegMapping() const
SensorFieldMapper()=default
void setTimePoint(int tp)
const QString & megSurfaceKey() const
std::shared_ptr< Eigen::MatrixXf > megMapping() const
bool megFieldMapOnHead() const
const FIFFLIB::FiffEvoked & evoked() const
const QString & colormap() const
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.
Full FIFF measurement info: per-channel descriptors, sampling and filter setup, projectors,...