18#ifndef IEEG_IMPLANTATION_H
19#define IEEG_IMPLANTATION_H
67 Eigen::Vector3f
position = Eigen::Vector3f::Zero();
138 const QVector<IeegLead>&
leads()
const
146 return m_coordinateSystem;
152 return m_contacts.isEmpty();
164 bool setLeadType(
const QString& lead,
IeegLeadType type,
int rows = 0,
int cols = 0);
170 int indexOf(
const QString& name)
const;
173 Eigen::MatrixX3f positions()
const;
180 bool isScannerRas()
const;
187 IeegImplantation transformed(
const Eigen::Matrix4f& trans,
const QString& frame)
const;
190 QVector<IeegContact> m_contacts;
191 QVector<IeegLead> m_leads;
192 QString m_coordinateSystem;
IEEGLIB shared-library export macro and build-info accessors for the intracranial EEG library.
#define IEEGSHARED_EXPORT
Intracranial EEG (sEEG, ECoG): implantation, bipolar referencing, cortical mapping.
IeegLeadType
Kind of lead a contact sits on.
One lead: a depth shaft, a strip or a grid.
Contacts of an sEEG / ECoG implantation and the leads they belong to.
static constexpr float kMaxDepthSpacing
const QVector< IeegLead > & leads() const
static IeegImplantation readBids(const QString &electrodesTsv, QString *error=nullptr)
IeegImplantation()=default
QString coordinateSystem() const
const QVector< IeegContact > & contacts() const