MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Provides a generic MeasurementTreeItem. More...
#include <measurementtreeitem.h>
Public Types | |
typedef QSharedPointer< MeasurementTreeItem > | SPtr |
typedef QSharedPointer< const MeasurementTreeItem > | ConstSPtr |
Public Member Functions | |
MeasurementTreeItem (int iType=Data3DTreeModelItemTypes::MeasurementItem, const QString &text="Unknown measurement") | |
QList< SourceSpaceTreeItem * > | addData (const MNELIB::MNESourceSpace &tSourceSpace, Qt3DCore::QEntity *p3DEntityParent=0) |
MneDataTreeItem * | addData (const MNELIB::MNESourceEstimate &tSourceEstimate, const MNELIB::MNEForwardSolution &tForwardSolution, const FSLIB::SurfaceSet &tSurfSet, const FSLIB::AnnotationSet &tAnnotSet, Qt3DCore::QEntity *p3DEntityParent, bool bUseGPU=false) |
SensorDataTreeItem * | addData (const Eigen::MatrixXd &tSensorData, const MNELIB::MNEBemSurface &bemSurface, const FIFFLIB::FiffInfo &fiffInfo, const QString &sSensorType, Qt3DCore::QEntity *p3DEntityParent, bool bUseGPU=false) |
EcdDataTreeItem * | addData (const INVERSELIB::ECDSet &tECDSet, Qt3DCore::QEntity *p3DEntityParent=0) |
DigitizerSetTreeItem * | addData (const FIFFLIB::FiffDigPointSet &tDigitizer, Qt3DCore::QEntity *p3DEntityParent=0) |
NetworkTreeItem * | addData (const CONNECTIVITYLIB::Network &tNetworkData, 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 () |
void | onSourceColorChanged (const QVariant &vertColors) |
Protected Member Functions inherited from DISP3DLIB::AbstractTreeItem | |
virtual void | onCheckStateChanged (const Qt::CheckState &checkState) |
Protected Attributes | |
QPointer< MneDataTreeItem > | m_pMneDataTreeItem |
QPointer< SensorDataTreeItem > | m_pEEGSensorDataTreeItem |
QPointer< SensorDataTreeItem > | m_pMEGSensorDataTreeItem |
QPointer< NetworkTreeItem > | m_pNetworkTreeItem |
QPointer< EcdDataTreeItem > | m_EcdDataTreeItem |
Protected Attributes inherited from DISP3DLIB::AbstractTreeItem | |
int | m_iType |
Qt::CheckState | m_checkStateOld |
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) |
Provides a generic MeasurementTreeItem.
MeasurementTreeItem provides a generic brain tree item to hold of brain data (hemi, vertices, tris, etc.) from different sources (FreeSurfer, etc.).
Definition at line 114 of file measurementtreeitem.h.
typedef QSharedPointer<const MeasurementTreeItem> DISP3DLIB::MeasurementTreeItem::ConstSPtr |
Const shared pointer type for MeasurementTreeItem class.
Definition at line 120 of file measurementtreeitem.h.
typedef QSharedPointer<MeasurementTreeItem> DISP3DLIB::MeasurementTreeItem::SPtr |
Shared pointer type for MeasurementTreeItem class.
Definition at line 119 of file measurementtreeitem.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 97 of file measurementtreeitem.cpp.
NetworkTreeItem * MeasurementTreeItem::addData | ( | const CONNECTIVITYLIB::Network & | tNetworkData, |
Qt3DCore::QEntity * | p3DEntityParent = 0 |
||
) |
Adds connectivity estimation data.
[in] | tNetworkData | The connectivity data. |
Definition at line 335 of file measurementtreeitem.cpp.
SensorDataTreeItem* DISP3DLIB::MeasurementTreeItem::addData | ( | const Eigen::MatrixXd & | tSensorData, |
const MNELIB::MNEBemSurface & | bemSurface, | ||
const FIFFLIB::FiffInfo & | fiffInfo, | ||
const QString & | sSensorType, | ||
Qt3DCore::QEntity * | p3DEntityParent, | ||
bool | bUseGPU = false |
||
) |
Adds interpolated activation data to the csh version of this item.
[in] | tSensorData | The SensorData. |
[in] | bemSurface | Holds all Bem data used in this item. |
[in] | fiffInfo | Holds all information needed about the sensors. |
[in] | sSensorType | Name of the sensor type EEG or MEG. |
[in] | p3DEntityParent | Pointer to the QEntity parent. |
[in] | bUseGPU | Whether to use GPU support for visualizing real-time data. |
DigitizerSetTreeItem * MeasurementTreeItem::addData | ( | const FIFFLIB::FiffDigPointSet & | tDigitizer, |
Qt3DCore::QEntity * | p3DEntityParent = 0 |
||
) |
Adds digitizer data to this item.
[in] | digitizerkind | The kind of the digitizer data. |
[in] | tDigitizer | The digitizer data. |
[in] | p3DEntityParent | The Qt3D entity parent of the new item. |
Definition at line 301 of file measurementtreeitem.cpp.
EcdDataTreeItem * MeasurementTreeItem::addData | ( | const INVERSELIB::ECDSet & | tECDSet, |
Qt3DCore::QEntity * | p3DEntityParent = 0 |
||
) |
Adds source estimated activation data (dipole fit) to this item.
[in] | tECDSet | The ECDSet dipole data. |
[in] | p3DEntityParent | The Qt3D entity parent of the new item. |
Definition at line 267 of file measurementtreeitem.cpp.
MneDataTreeItem * MeasurementTreeItem::addData | ( | const MNELIB::MNESourceEstimate & | tSourceEstimate, |
const MNELIB::MNEForwardSolution & | tForwardSolution, | ||
const FSLIB::SurfaceSet & | tSurfSet, | ||
const FSLIB::AnnotationSet & | tAnnotSet, | ||
Qt3DCore::QEntity * | p3DEntityParent, | ||
bool | bUseGPU = false |
||
) |
Adds source estimated activation data (MNE, RTC-MUSIC) to this item.
[in] | tSourceEstimate | The MNESourceEstimate. |
[in] | tForwardSolution | The MNEForwardSolution. |
[in] | tSurfSet | The surface set holding the left and right hemisphere surfaces. |
[in] | tAnnotSet | The annotation set holding the left and right hemisphere annotations. |
[in] | p3DEntityParent | Pointer to the QEntity parent. |
[in] | bUseGPU | Whether to use GPU support for visualizing real-time data. |
Definition at line 158 of file measurementtreeitem.cpp.
QList< SourceSpaceTreeItem * > MeasurementTreeItem::addData | ( | const MNELIB::MNESourceSpace & | tSourceSpace, |
Qt3DCore::QEntity * | p3DEntityParent = 0 |
||
) |
Adds source space data to this item.
[in] | tSourceSpace | The source space data. |
[in] | p3DEntityParent | The Qt3D entity parent of the new item. |
Definition at line 116 of file measurementtreeitem.cpp.
|
protectedvirtual |
AbstractTreeItem functions
Reimplemented from DISP3DLIB::AbstractTreeItem.
Definition at line 106 of file measurementtreeitem.cpp.
|
protected |
Call this function whenever new colors for the activation data plotting are available: source level.
[in] | vertColors | The color values for each estimated source for left and right hemisphere. |
|
protected |
The rt dipole fit data item of this item.
Definition at line 242 of file measurementtreeitem.h.
|
protected |
The rt sensor EEG data item of this item.
Definition at line 237 of file measurementtreeitem.h.
|
protected |
The rt sensor MEG data item of this item.
Definition at line 238 of file measurementtreeitem.h.
|
protected |
The rt source loc data item of this item.
Definition at line 235 of file measurementtreeitem.h.
|
protected |
The rt connectivity data item of this item.
Definition at line 240 of file measurementtreeitem.h.