ECoG / sEEG electrode model: shaft cylinders, contact spheres and grid layouts mapped to a colour-bar overlay. More...
#include "../disp3D_global.h"#include <QColor>#include <QMap>#include <QString>#include <QVector>#include <QVector3D>#include <memory>

Go to the source code of this file.
Classes | |
| struct | DISP3DLIB::ElectrodeContact |
| Single contact on a depth electrode shaft. More... | |
| struct | DISP3DLIB::ElectrodeArray |
| One electrode array — sEEG depth shaft, ECoG strip, or ECoG grid. More... | |
| class | DISP3DLIB::ElectrodeObject |
| Data model for stereotactic depth electrode (sEEG) visualization. More... | |
Namespaces | |
| namespace | DISP3DLIB |
| 3-D brain visualisation using the Qt RHI rendering backend. | |
Enumerations | |
| enum class | DISP3DLIB::ElectrodeLayout { DISP3DLIB::Depth = 0 , DISP3DLIB::Strip , DISP3DLIB::Grid } |
| Geometry layout for an electrode array. More... | |
ECoG / sEEG electrode model: shaft cylinders, contact spheres and grid layouts mapped to a colour-bar overlay.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors
ElectrodeObject describes one or more electrode arrays in three topologies (ElectrodeLayout::Depth stereotactic shaft, ElectrodeLayout::Strip 1xN ECoG, ElectrodeLayout::Grid rows x cols ECoG) and generates CPU-side geometry that the renderer uploads as a cylinder mesh (shafts) plus a per-contact instance buffer (spheres with position, radius, RGBA colour, selected flag).
Per-contact scalar values (e.g. spectral power, evoked amplitude) are mapped to a min / max colour gradient by ElectrodeObject::setContactValues so the same primitive can show static placement and live activity. Bounding-box accessors include the contact radius so the camera framing keeps every contact visible.
Definition in file electrodeobject.h.