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

Surface-constrained geodesic distance and sensor-to-mesh projection helpers. More...

#include "../disp3D_global.h"
#include <fiff/fiff_evoked.h>
#include <atomic>
#include <limits>
#include <functional>
#include <QSharedPointer>
#include <QVector>
#include <vector>
#include <Eigen/Core>
#include <Eigen/Sparse>
Include dependency graph for geometryinfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISP3DLIB::GeometryInfo
 This class holds static methods for sensor-to-mesh mapping and surface constrained distance calculation on a mesh. More...

Namespaces

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

Macros

#define FLOAT_INFINITY   std::numeric_limits<float>::infinity()

Detailed Description

Surface-constrained geodesic distance and sensor-to-mesh projection helpers.

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

GeometryInfo provides the geometric kernels that drive every smooth source / sensor overlay in disp3D. scdc runs a multi-source Dijkstra on the surface adjacency graph to compute geodesic (surface-constrained) distances from a set of seed vertices to all vertices on the mesh; the result is used by Interpolation to build a sparse weight matrix that propagates source / sensor values across the cortex without crossing sulci.

scdcInterpolationMat fuses the Dijkstra pass and the weight-matrix construction so the dense distance table is never materialised — essential for high-resolution ico-5 source spaces where the dense table would exceed several gigabytes.

projectSensors performs Euclidean nearest-vertex projection for MEG / EEG sensors onto the head or helmet mesh; filterBadChannels prunes columns of the distance table for channels marked bad in the FIFFLIB::FiffInfo.

Definition in file geometryinfo.h.

Macro Definition Documentation

◆ FLOAT_INFINITY

#define FLOAT_INFINITY   std::numeric_limits<float>::infinity()

Definition at line 71 of file geometryinfo.h.