Implementation of the ANT .elc / MNE .lout parsers declared in layoutloader.h.
More...
#include "layoutloader.h"#include <algorithm>#include <fstream>#include <QIODevice>#include <QTextStream>#include <QFile>#include <QDebug>#include <QRegularExpression>
Go to the source code of this file.
Implementation of the ANT .elc / MNE .lout parsers declared in layoutloader.h.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2014-2026 MNE-CPP Authors
The parsers are deliberately tolerant of trailing whitespace and missing comment lines because exported layouts from different vendors and from hand-edited test fixtures vary widely. Unit conversion to metres happens at read time so downstream consumers (DISP3DLIB, MNELIB) never need to keep track of which file flavour produced a coordinate.
Definition in file layoutloader.cpp.