55 #include <QSharedPointer>
79 using namespace Eigen;
101 typedef QSharedPointer<Annotation>
SPtr;
116 explicit Annotation(
const QString& p_sFileName);
136 inline bool isEmpty()
const;
144 inline qint32 hemi()
const;
152 inline VectorXi& getVertices();
160 inline const VectorXi getVertices()
const;
168 inline VectorXi& getLabelIds();
176 inline const VectorXi getLabelIds()
const;
192 inline const Colortable getColortable()
const;
206 static bool read(
const QString &subject_id, qint32 hemi,
const QString &atlas,
const QString &subjects_dir,
Annotation &p_Annotation);
219 static bool read(
const QString &path, qint32 hemi,
const QString &atlas,
Annotation &p_Annotation);
230 static bool read(
const QString &p_sFileName,
Annotation &p_Annotation);
244 bool toLabels(
const Surface &p_surf, QList<Label> &p_qListLabels, QList<RowVector4i> &p_qListLabelRGBAs)
const;
270 return m_iHemi == -1;
322 #endif // ANNOTATION_H
QSharedPointer< const Annotation > ConstSPtr
Fs library export/import macros.
Colortable class declaration.
Vertices label based lookup table.
Colortable & getColortable()
QSharedPointer< Annotation > SPtr