|
MNE-CPP
0.1.9
A Framework for Electrophysiology
|
#include <channelinfomodel.h>
Public Types | |
| typedef QSharedPointer< ChannelInfoModel > | SPtr |
| typedef QSharedPointer< const ChannelInfoModel > | ConstSPtr |
Signals | |
| void | channelsMappedToLayout (const QStringList &mappedLayoutChNames) |
Public Member Functions | |
| ChannelInfoModel (QSharedPointer< FIFFLIB::FiffInfo > &pFiffInfo, QObject *parent=0) | |
| ChannelInfoModel (QObject *parent=0) | |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
| virtual bool | insertRows (int position, int span, const QModelIndex &parent=QModelIndex()) |
| virtual bool | removeRows (int position, int span, const QModelIndex &parent=QModelIndex()) |
| void | setFiffInfo (QSharedPointer< FIFFLIB::FiffInfo > &pFiffInfo) |
| void | assignedOperatorsChanged (const QMap< int, QSharedPointer< MNEOperator > > &assignedOperators) |
| void | layoutChanged (const QMap< QString, QPointF > &layoutMap) |
| const QStringList & | getMappedChannelsList () |
| int | getIndexFromOrigChName (QString chName) |
| int | getIndexFromMappedChName (QString chName) |
| QStringList | getBadChannelList () |
| void | clearModel () |
Protected Member Functions | |
| void | mapLayoutToChannels () |
Protected Attributes | |
| QSharedPointer< FIFFLIB::FiffInfo > | m_pFiffInfo |
| QMap< int, QSharedPointer< MNEOperator > > | m_assignedOperators |
| QMap< QString, QPointF > | m_layoutMap |
| QStringList | m_aliasNames |
| QStringList | m_mappedLayoutChNames |
DECLARE CLASS ChannelInfoModel
Definition at line 100 of file channelinfomodel.h.

| typedef QSharedPointer<const ChannelInfoModel> DISPLIB::ChannelInfoModel::ConstSPtr |
Const shared pointer type for ChannelInfoModel.
Definition at line 106 of file channelinfomodel.h.
| typedef QSharedPointer<ChannelInfoModel> DISPLIB::ChannelInfoModel::SPtr |
Shared pointer type for ChannelInfoModel.
Definition at line 105 of file channelinfomodel.h.
| void ChannelInfoModel::assignedOperatorsChanged | ( | const QMap< int, QSharedPointer< MNEOperator > > & | assignedOperators | ) |
Updates the fiff info
| [in] | assignedOperators | the filter operators which are currently active. |
Definition at line 568 of file channelinfomodel.cpp.
|
signal |
Emit this signal whenever channels where mapped to a layout
| void ChannelInfoModel::clearModel | ( | ) |
clearModel clears all model's members
Definition at line 669 of file channelinfomodel.cpp.
| QStringList ChannelInfoModel::getBadChannelList | ( | ) |
Returns bad channel list.
Definition at line 620 of file channelinfomodel.cpp.
| int ChannelInfoModel::getIndexFromMappedChName | ( | QString | chName | ) |
Returns the model index for the given input channel fro mthe mapped channel list
| [in] | chName | the channel name for which the model index is needed. |
Definition at line 613 of file channelinfomodel.cpp.
| int ChannelInfoModel::getIndexFromOrigChName | ( | QString | chName | ) |
Returns the model index for the given input channel fro mthe original channel list
| [in] | chName | the channel name for which the model index is needed. |
Definition at line 606 of file channelinfomodel.cpp.
| const QStringList & ChannelInfoModel::getMappedChannelsList | ( | ) |
Updates the layout map
Definition at line 598 of file channelinfomodel.cpp.
| void ChannelInfoModel::layoutChanged | ( | const QMap< QString, QPointF > & | layoutMap | ) |
Updates the layout map
| [in] | layoutMap | the layout map with the 2D positions. |
Definition at line 581 of file channelinfomodel.cpp.
|
protected |
Maps the currently loaded channels to the loaded layout file
Definition at line 627 of file channelinfomodel.cpp.
|
virtual |
Reimplemented virtual functions
Definition at line 85 of file channelinfomodel.cpp.
| void ChannelInfoModel::setFiffInfo | ( | QSharedPointer< FIFFLIB::FiffInfo > & | pFiffInfo | ) |
Updates the fiff info
| [in] | fiffInfo | fiff info variabel. |
Definition at line 551 of file channelinfomodel.cpp.
|
protected |
list of given channel aliases.
Definition at line 201 of file channelinfomodel.h.
|
protected |
Map of MNEOperator types to channels.
Definition at line 198 of file channelinfomodel.h.
|
protected |
The current layout map with a position for all MEG and EEG channels.
Definition at line 199 of file channelinfomodel.h.
|
protected |
list of the mapped layout channel names.
Definition at line 202 of file channelinfomodel.h.
|
protected |
The fiff info of the currently loaded fiff file.
Definition at line 196 of file channelinfomodel.h.
1.8.17