24#ifndef STCLOADINGWORKER_H
25#define STCLOADINGWORKER_H
36#include <QSharedPointer>
37#include <Eigen/Sparse>
73 const QString& rhPath,
76 double cancelDist = 0.05,
77 QObject* parent =
nullptr);
115 return m_interpMatLh;
126 return m_interpMatRh;
158 m_cancelled.store(
true, std::memory_order_relaxed);
164 return m_cancelled.load(std::memory_order_relaxed);
183 void progress(
int percent,
const QString& message);
202 QSharedPointer<Eigen::SparseMatrix<float>> computeInterpolationMatrix(
203 const Eigen::MatrixX3f& matVertices,
204 Eigen::VectorXi& vecSourceVertices,
206 const QString& hemiLabel,
218 bool m_hasLh =
false;
219 bool m_hasRh =
false;
221 QSharedPointer<Eigen::SparseMatrix<float>> m_interpMatLh;
222 QSharedPointer<Eigen::SparseMatrix<float>> m_interpMatRh;
223 std::atomic<bool> m_cancelled{
false};
Library export/import macros and namespace marker for the disp3D library.
#define DISP3DSHARED_EXPORT
InvSourceEstimate value type — central source-space data container produced by every INVLIB inverse s...
3-D brain visualisation using the Qt RHI rendering backend.
Renderable cortical surface mesh with per-vertex color, curvature data, and GPU buffer management.
const INVLIB::InvSourceEstimate & stcRh() const
void finished(bool success)
void progress(int percent, const QString &message)
StcLoadingWorker(const QString &lhPath, const QString &rhPath, BrainSurface *lhSurface, BrainSurface *rhSurface, double cancelDist=0.05, QObject *parent=nullptr)
QSharedPointer< Eigen::SparseMatrix< float > > interpolationMatLh() const
void error(const QString &message)
QSharedPointer< Eigen::SparseMatrix< float > > interpolationMatRh() const
const INVLIB::InvSourceEstimate & stcLh() const
Source-space inverse-solution container with dense grid plus optional focal-dipole,...