Static helpers for loading FreeSurfer / MNE source-space and BEM data into the disp3D model tree. More...
#include "../disp3D_global.h"#include <QStringList>#include <QList>#include <QStandardItem>#include <QVector3D>#include <QMatrix4x4>#include <memory>#include <fiff/fiff_info.h>#include <fiff/fiff_evoked.h>#include <fiff/fiff_coord_trans.h>#include <fiff/fiff_dig_point.h>#include <mne/mne_source_spaces.h>#include <inv/dipole_fit/inv_ecd_set.h>

Go to the source code of this file.
Classes | |
| class | DataLoader |
| Pure I/O helpers that load MNE data files and return results. More... | |
| struct | DataLoader::SensorLoadResult |
| Return value bundling loaded sensor geometry, labels, and channel-to-sensor mapping. More... | |
Static helpers for loading FreeSurfer / MNE source-space and BEM data into the disp3D model tree.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
DataLoader is a thin facade over FSLIB and MNELIB readers that turns raw files (FsSurface, FsAnnotation, MNESourceSpaces, MNEBemSurface, FIFF digitizer / sensor blocks) into the in-memory objects that BrainTreeModel and the renderable/ layer expect. It exists so GUI code can populate the 3-D scene without knowing the FreeSurfer / MNE file-format conventions (subject directory layout, hemisphere suffixes, surface-RAS vs head coordinate frames, ...).
All methods are stateless and may be called from worker threads; they return shared pointers to the produced data structures and do not touch the Qt RHI or any GUI state.
Definition in file dataloader.h.