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

Implementation of MNELIB::MNEMshDisplaySurface. More...

#include "mne_msh_display_surface.h"
#include "mne_surface.h"
#include "mne_morph_map.h"
#include "mne_msh_picked.h"
#include "mne_msh_color_scale_def.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 <Eigen/Geometry>
#include <math.h>
#include <QDebug>
Include dependency graph for mne_msh_display_surface.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 SHOW_CURVATURE_NONE = 0
constexpr int SHOW_CURVATURE_OVERLAY = 1
constexpr int SHOW_OVERLAY_HEAT = 1
constexpr float POS_CURV_COLOR = 0.25f
constexpr float NEG_CURV_COLOR = 0.375f
constexpr float EVEN_CURV_COLOR = 0.375f

Detailed Description

Implementation of MNELIB::MNEMshDisplaySurface.

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

Implements per-vertex colour assembly from a scalar overlay, the binding of an overlay range to a colour scale and the toggle of visibility flags.

Definition in file mne_msh_display_surface.cpp.

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 36 of file mne_msh_display_surface.cpp.

Variable Documentation

◆ EVEN_CURV_COLOR

float EVEN_CURV_COLOR = 0.375f
constexpr

Definition at line 63 of file mne_msh_display_surface.cpp.

◆ FAIL

int FAIL = -1
constexpr

Definition at line 50 of file mne_msh_display_surface.cpp.

◆ NEG_CURV_COLOR

float NEG_CURV_COLOR = 0.375f
constexpr

Definition at line 62 of file mne_msh_display_surface.cpp.

◆ OK

int OK = 0
constexpr

Definition at line 51 of file mne_msh_display_surface.cpp.

◆ POS_CURV_COLOR

float POS_CURV_COLOR = 0.25f
constexpr

Definition at line 61 of file mne_msh_display_surface.cpp.

◆ SHOW_CURVATURE_NONE

int SHOW_CURVATURE_NONE = 0
constexpr

Definition at line 57 of file mne_msh_display_surface.cpp.

◆ SHOW_CURVATURE_OVERLAY

int SHOW_CURVATURE_OVERLAY = 1
constexpr

Definition at line 58 of file mne_msh_display_surface.cpp.

◆ SHOW_OVERLAY_HEAT

int SHOW_OVERLAY_HEAT = 1
constexpr

Definition at line 59 of file mne_msh_display_surface.cpp.

◆ X

int X = 0
constexpr

Definition at line 53 of file mne_msh_display_surface.cpp.

◆ Y

int Y = 1
constexpr

Definition at line 54 of file mne_msh_display_surface.cpp.

◆ Z

int Z = 2
constexpr

Definition at line 55 of file mne_msh_display_surface.cpp.