52#include <QSharedPointer>
84 typedef QSharedPointer<Annotation>
SPtr;
99 explicit Annotation(
const QString& p_sFileName);
110 explicit Annotation(
const QString &subject_id, qint32
hemi,
const QString &surf,
const QString &subjects_dir);
122 explicit Annotation(
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,
Annotation &p_Annotation);
225 static bool read(
const QString &path, qint32
hemi,
const QString &atlas,
Annotation &p_Annotation);
236 static bool read(
const QString &p_sFileName,
Annotation &p_Annotation);
252 QList<Label> &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.
Colortable class declaration.
FreeSurfer surface and annotation I/O.
bool toLabels(const Surface &p_surf, QList< Label > &p_qListLabels, QList< Eigen::RowVector4i > &p_qListLabelRGBAs, const QStringList &lLabelPicks=QStringList()) const
QSharedPointer< const Annotation > ConstSPtr
Eigen::VectorXi & getVertices()
Eigen::VectorXi & getLabelIds()
static bool read(const QString &subject_id, qint32 hemi, const QString &atlas, const QString &subjects_dir, Annotation &p_Annotation)
Colortable & getColortable()
QSharedPointer< Annotation > SPtr
Vertices label based lookup table.