MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Provides a generic brain tree item. More...
#include <fsannotationtreeitem.h>
Public Types | |
typedef QSharedPointer< FsAnnotationTreeItem > | SPtr |
typedef QSharedPointer< const FsAnnotationTreeItem > | ConstSPtr |
Signals | |
void | annotationVisibiltyChanged (bool isVisible) |
Signals inherited from DISP3DLIB::AbstractTreeItem | |
void | checkStateChanged (const Qt::CheckState &checkState) |
Public Member Functions | |
FsAnnotationTreeItem (int iType=Data3DTreeModelItemTypes::AnnotationItem, const QString &text="Annotation") | |
void | addData (const FSLIB::Surface &tSurface, const FSLIB::Annotation &tAnnotation) |
Public Member Functions inherited from DISP3DLIB::AbstractTreeItem | |
AbstractTreeItem (int iType=Data3DTreeModelItemTypes::UnknownItem, const QString &text="") | |
void | setData (const QVariant &value, int role=Qt::UserRole+1) |
int | type () const |
QList< QStandardItem * > | findChildren (int type) |
QList< QStandardItem * > | findChildren (const QString &text) |
AbstractTreeItem & | operator<< (AbstractTreeItem *newItem) |
AbstractTreeItem & | operator<< (AbstractTreeItem &newItem) |
Protected Member Functions | |
void | initItem () |
virtual void | onCheckStateChanged (const Qt::CheckState &checkState) |
Additional Inherited Members | |
Static Public Member Functions inherited from DISP3DLIB::AbstractTreeItem | |
static void | addItemWithDescription (QStandardItem *pItemParent, QStandardItem *pItemAdd) |
Protected Attributes inherited from DISP3DLIB::AbstractTreeItem | |
int | m_iType |
Qt::CheckState | m_checkStateOld |
Provides a generic brain tree item.
FsAnnotationTreeItem provides a generic item to hold information about brain annotation information.
Definition at line 83 of file fsannotationtreeitem.h.
typedef QSharedPointer<const FsAnnotationTreeItem> DISP3DLIB::FsAnnotationTreeItem::ConstSPtr |
Const shared pointer type for FsAnnotationTreeItem class.
Definition at line 89 of file fsannotationtreeitem.h.
typedef QSharedPointer<FsAnnotationTreeItem> DISP3DLIB::FsAnnotationTreeItem::SPtr |
Shared pointer type for FsAnnotationTreeItem class.
Definition at line 88 of file fsannotationtreeitem.h.
|
explicit |
Default constructor.
[in] | iType | The type of the item. See types.h for declaration and definition. |
[in] | text | The text of this item. This is also by default the displayed name of the item in a view. |
Definition at line 66 of file fsannotationtreeitem.cpp.
void FsAnnotationTreeItem::addData | ( | const FSLIB::Surface & | tSurface, |
const FSLIB::Annotation & | tAnnotation | ||
) |
Adds FreeSurfer data based on annotation information to this item.
[in] | tSurface | FreeSurfer surface. |
[in] | tAnnotation | FreeSurfer annotation. |
Definition at line 84 of file fsannotationtreeitem.cpp.
|
signal |
Emit this signal whenever the visibilty of the annotation set was changed.
[in] | isVisible | The visibility flag. |
|
protectedvirtual |
AbstractTreeItem functions
Reimplemented from DISP3DLIB::AbstractTreeItem.
Definition at line 74 of file fsannotationtreeitem.cpp.
|
protectedvirtual |
Call this function whenever the check box of this item was checked.
[in] | checkState | The current checkstate. |
Reimplemented from DISP3DLIB::AbstractTreeItem.
Definition at line 143 of file fsannotationtreeitem.cpp.