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

Renderable view of an sEEG / ECoG implantation: contact spheres and lead bodies. More...

#include "../disp3D_global.h"
#include "../core/rendertypes.h"
#include <ieeg/ieeg_implantation.h>
#include <QByteArray>
#include <QColor>
#include <QMap>
#include <QString>
#include <QVector>
#include <QVector3D>
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

class  DISP3DLIB::ElectrodeObject
 Renderable sEEG / ECoG electrodes: contact spheres plus lead bodies. More...

Namespaces

namespace  DISP3DLIB
 3-D brain visualisation using the Qt RHI rendering backend.

Detailed Description

Renderable view of an sEEG / ECoG implantation: contact spheres and lead bodies.

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 draws an IEEGLIB::IeegImplantation. It provides two instanced streams for the renderer: one sphere per contact, and the lead bodies (one cylinder along each depth lead, thin ties between neighbouring strip and grid contacts). Depth leads and subdural arrays thus differ by shape, while colour tells one lead from another.

The implantation owns the contacts and leads; this object only adds display state: per-contact colours (e.g. from setContactValues()), the selected and the hovered contact.

Positions are in metres, in the frame of the brain surfaces (FreeSurfer surface RAS).

Definition in file electrodeobject.h.