v2.0.0
Loading...
Searching...
No Matches
mne_surface_or_volume.cpp File Reference

Implementation of MNELIB::MNESurfaceOrVolume. More...

#include "mne_surface_or_volume.h"
#include "mne_surface.h"
#include "mne_source_space.h"
#include "mne_patch_info.h"
#include "mne_nearest.h"
#include "filter_thread_arg.h"
#include "mne_triangle.h"
#include "mne_msh_display_surface.h"
#include "mne_proj_data.h"
#include "mne_vol_geom.h"
#include "mne_mgh_tag_group.h"
#include "mne_mgh_tag.h"
#include <fiff/fiff_stream.h>
#include <fiff/fiff_coord_trans.h>
#include <fiff/fiff_digitizer_data.h>
#include <fiff/fiff_dig_point.h>
#include <math/sphere.h>
#include <utils/ioutils.h>
#include <QFile>
#include <QTextStream>
#include <QCoreApplication>
#include <QtConcurrent>
#include <QDebug>
#include <math.h>
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <algorithm>
Include dependency graph for mne_surface_or_volume.cpp:

Go to the source code of this file.

Macros

#define _USE_MATH_DEFINES

Variables

constexpr int FAIL = -1
constexpr int OK = 0
constexpr int X = 0
constexpr int Y = 1
constexpr int Z = 2
constexpr int NNEIGHBORS = 26

Detailed Description

Implementation of MNELIB::MNESurfaceOrVolume.

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

Defines the constructors and helpers shared by surface and volume specialisations. Most routines simply allocate the geometry arrays at the right size; specialised readers live in MNESourceSpace and MNEBemSurface.

Definition in file mne_surface_or_volume.cpp.

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 50 of file mne_surface_or_volume.cpp.

Variable Documentation

◆ FAIL

int FAIL = -1
constexpr

Definition at line 70 of file mne_surface_or_volume.cpp.

◆ NNEIGHBORS

int NNEIGHBORS = 26
constexpr

Definition at line 77 of file mne_surface_or_volume.cpp.

◆ OK

int OK = 0
constexpr

Definition at line 71 of file mne_surface_or_volume.cpp.

◆ X

int X = 0
constexpr

Definition at line 73 of file mne_surface_or_volume.cpp.

◆ Y

int Y = 1
constexpr

Definition at line 74 of file mne_surface_or_volume.cpp.

◆ Z

int Z = 2
constexpr

Definition at line 75 of file mne_surface_or_volume.cpp.