v2.0.0
Loading...
Searching...
No Matches
electrodeobject.h File Reference

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>
Include dependency graph for electrodeobject.h:
This graph shows which files directly or indirectly include this file:

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...

Detailed Description

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

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.2.0
Date
April 2026

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.