35#ifndef FS_ANNOTATION_H
36#define FS_ANNOTATION_H
50#include <QSharedPointer>
86 typedef QSharedPointer<FsAnnotation>
SPtr;
87 typedef QSharedPointer<const FsAnnotation>
ConstSPtr;
112 explicit FsAnnotation(
const QString &subject_id, qint32
hemi,
const QString &surf,
const QString &subjects_dir);
124 explicit FsAnnotation(
const QString &path, qint32
hemi,
const QString &surf);
152 inline qint32
hemi()
const;
214 static bool read(
const QString &subject_id, qint32
hemi,
const QString &atlas,
const QString &subjects_dir,
FsAnnotation &p_Annotation);
227 static bool read(
const QString &path, qint32
hemi,
const QString &atlas,
FsAnnotation &p_Annotation);
254 QList<FsLabel> &p_qListLabels,
255 QList<Eigen::RowVector4i> &p_qListLabelRGBAs,
256 const QStringList& lLabelPicks = QStringList())
const;
279 Eigen::VectorXi m_Vertices;
280 Eigen::VectorXi m_LabelIds;
298 return m_iHemi == -1;
In-memory representation of a FreeSurfer colour/structure lookup table (FreeSurferColorLUT / embedded...
Export/import macros and build-info accessors for the FSLIB FreeSurfer I/O library.
FreeSurfer surface, annotation and parcellation I/O for mne-cpp.
FsColortable & getColortable()
Eigen::VectorXi & getLabelIds()
QSharedPointer< FsAnnotation > SPtr
static bool read(const QString &subject_id, qint32 hemi, const QString &atlas, const QString &subjects_dir, FsAnnotation &p_Annotation)
QSharedPointer< const FsAnnotation > ConstSPtr
Eigen::VectorXi & getVertices()
bool toLabels(const FsSurface &p_surf, QList< FsLabel > &p_qListLabels, QList< Eigen::RowVector4i > &p_qListLabelRGBAs, const QStringList &lLabelPicks=QStringList()) const
FreeSurfer colour lookup table: region name + RGBA + packed label, indexed by entry.
A FreeSurfer/MNE surface label: per-vertex indices, Tk-RAS positions and scalar values for one hemisp...
In-memory FreeSurfer triangular cortical surface for one hemisphere.