MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Provides a generic MriTreeItem. More...
#include <mritreeitem.h>
Public Types | |
typedef QSharedPointer< MriTreeItem > | SPtr |
typedef QSharedPointer< const MriTreeItem > | ConstSPtr |
Public Member Functions | |
MriTreeItem (int iType=Data3DTreeModelItemTypes::MriItem, const QString &text="MRI") | |
QList< FsSurfaceTreeItem * > | addData (const FSLIB::SurfaceSet &tSurfaceSet, const FSLIB::AnnotationSet &tAnnotationSet, Qt3DCore::QEntity *p3DEntityParent=0) |
FsSurfaceTreeItem * | addData (const FSLIB::Surface &tSurface, const FSLIB::Annotation &tAnnotation, 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 MriTreeItem.
MriTreeItem provides a generic brain tree item to hold of brain data (hemi, vertices, tris, etc.) from different sources (FreeSurfer, etc.).
Definition at line 92 of file mritreeitem.h.
typedef QSharedPointer<const MriTreeItem> DISP3DLIB::MriTreeItem::ConstSPtr |
Const shared pointer type for MriTreeItem class.
Definition at line 98 of file mritreeitem.h.
typedef QSharedPointer<MriTreeItem> DISP3DLIB::MriTreeItem::SPtr |
Shared pointer type for MriTreeItem class.
Definition at line 97 of file mritreeitem.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 mritreeitem.cpp.
FsSurfaceTreeItem * MriTreeItem::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 106 of file mritreeitem.cpp.
QList< FsSurfaceTreeItem * > MriTreeItem::addData | ( | const FSLIB::SurfaceSet & | tSurfaceSet, |
const FSLIB::AnnotationSet & | tAnnotationSet, | ||
Qt3DCore::QEntity * | p3DEntityParent = 0 |
||
) |
Adds FreeSurfer data based on surfaces and annotation SETS to this item.
[in] | tSurfaceSet | FreeSurfer surface set. |
[in] | tAnnotationSet | FreeSurfer annotation set. |
[in] | p3DEntityParent | The Qt3D entity parent of the new item. |
Definition at line 85 of file mritreeitem.cpp.
|
protectedvirtual |
AbstractTreeItem functions
Reimplemented from DISP3DLIB::AbstractTreeItem.
Definition at line 75 of file mritreeitem.cpp.