35#ifndef FS_ANNOTATION_H
36#define FS_ANNOTATION_H
50#include <QSharedPointer>
87 typedef QSharedPointer<FsAnnotation>
SPtr;
88 typedef QSharedPointer<const FsAnnotation>
ConstSPtr;
113 explicit FsAnnotation(
const QString& subject_id, qint32
hemi,
const QString& surf,
const QString& subjects_dir);
123 explicit FsAnnotation(
const QString& path, qint32
hemi,
const QString& surf);
151 inline qint32
hemi()
const;
213 static bool read(
const QString& subject_id, qint32
hemi,
const QString& atlas,
const QString& subjects_dir,
FsAnnotation& p_Annotation);
226 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.