37#ifndef FS_ANNOTATION_H
38#define FS_ANNOTATION_H
52#include <QSharedPointer>
84 typedef QSharedPointer<FsAnnotation>
SPtr;
85 typedef QSharedPointer<const FsAnnotation>
ConstSPtr;
110 explicit FsAnnotation(
const QString &subject_id, qint32
hemi,
const QString &surf,
const QString &subjects_dir);
122 explicit FsAnnotation(
const QString &path, qint32
hemi,
const QString &surf);
150 inline qint32
hemi()
const;
212 static bool read(
const QString &subject_id, qint32
hemi,
const QString &atlas,
const QString &subjects_dir,
FsAnnotation &p_Annotation);
225 static bool read(
const QString &path, qint32
hemi,
const QString &atlas,
FsAnnotation &p_Annotation);
252 QList<FsLabel> &p_qListLabels,
253 QList<Eigen::RowVector4i> &p_qListLabelRGBAs,
254 const QStringList& lLabelPicks = QStringList())
const;
277 Eigen::VectorXi m_Vertices;
278 Eigen::VectorXi m_LabelIds;
296 return m_iHemi == -1;
Fs library export/import macros.
FsColortable class declaration.
FreeSurfer surface and annotation I/O.
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
Vertices label based lookup table.