MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Provides a generic brain tree item. More...
#include <hemispheretreeitem.h>
Public Types | |
typedef QSharedPointer< HemisphereTreeItem > | SPtr |
typedef QSharedPointer< const HemisphereTreeItem > | ConstSPtr |
Public Member Functions | |
HemisphereTreeItem (int iType=Data3DTreeModelItemTypes::HemisphereItem, const QString &text="Unknown") | |
FsSurfaceTreeItem * | addData (const FSLIB::Surface &tSurface, const FSLIB::Annotation &tAnnotation, Qt3DCore::QEntity *p3DEntityParent=0) |
SourceSpaceTreeItem * | addData (const MNELIB::MNEHemisphere &tHemisphere, Qt3DCore::QEntity *p3DEntityParent=0) |
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 () |
Protected Member Functions inherited from DISP3DLIB::AbstractTreeItem | |
virtual void | onCheckStateChanged (const Qt::CheckState &checkState) |
Additional Inherited Members | |
Signals inherited from DISP3DLIB::AbstractTreeItem | |
void | checkStateChanged (const Qt::CheckState &checkState) |
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.
HemisphereTreeItem provides a generic brain tree item to hold of brain data (hemi, vertices, tris, etc.) from different sources (FreeSurfer, etc.).
Definition at line 95 of file hemispheretreeitem.h.
typedef QSharedPointer<const HemisphereTreeItem> DISP3DLIB::HemisphereTreeItem::ConstSPtr |
Const shared pointer type for HemisphereTreeItem class.
Definition at line 101 of file hemispheretreeitem.h.
typedef QSharedPointer<HemisphereTreeItem> DISP3DLIB::HemisphereTreeItem::SPtr |
Shared pointer type for HemisphereTreeItem class.
Definition at line 100 of file hemispheretreeitem.h.
|
explicit |
Default constructor from single surface.
[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 76 of file hemispheretreeitem.cpp.
FsSurfaceTreeItem * HemisphereTreeItem::addData | ( | const FSLIB::Surface & | tSurface, |
const FSLIB::Annotation & | tAnnotation, | ||
Qt3DCore::QEntity * | p3DEntityParent = 0 |
||
) |
Adds FreeSurfer data based on surfaces and annotation data to this item.
[in] | tSurface | FreeSurfer surface. |
[in] | tAnnotation | FreeSurfer annotation. |
[in] | p3DEntityParent | The Qt3D entity parent of the new item. |
Definition at line 95 of file hemispheretreeitem.cpp.
SourceSpaceTreeItem * HemisphereTreeItem::addData | ( | const MNELIB::MNEHemisphere & | tHemisphere, |
Qt3DCore::QEntity * | p3DEntityParent = 0 |
||
) |
Adds source space information.
[in] | tHemisphere | The MNEHemisphere. |
[in] | p3DEntityParent | The Qt3D entity parent of the new item. |
Definition at line 149 of file hemispheretreeitem.cpp.
|
protectedvirtual |
AbstractTreeItem functions
Reimplemented from DISP3DLIB::AbstractTreeItem.
Definition at line 85 of file hemispheretreeitem.cpp.