MNE-CPP
beta 1.0
|
The ButterflySceneItem class provides a new data structure for visualizing averages in a 2D layout. More...
#include <butterflysceneitem.h>
Public Member Functions | |
ButterflySceneItem (QString setName, int setKind=FIFFV_MEG_CH, int setUnit=FIFF_UNIT_T_M, const QList< QColor > &defaultColors=QList< QColor >()) | |
QRectF | boundingRect () const |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) |
Public Attributes | |
QString | m_sSetName |
fiff_int_t | m_iSetKind |
fiff_int_t | m_iSetUnit |
const FiffInfo * | m_pFiffInfo |
QList< QColor > | m_cAverageColors |
RowVectorPair | m_lAverageData |
QPair< int, int > | m_firstLastSample |
QMap< QString, double > | m_scaleMap |
Protected Member Functions | |
void | paintAveragePaths (QPainter *painter) |
The ButterflySceneItem class provides a new data structure for visualizing averages in a 2D layout.
Definition at line 94 of file butterflysceneitem.h.
ButterflySceneItem::ButterflySceneItem | ( | QString | setName, |
int | setKind = FIFFV_MEG_CH , |
||
int | setUnit = FIFF_UNIT_T_M , |
||
const QList< QColor > & | defaultColors = QList<QColor>() |
||
) |
Constructs a ButterflySceneItem.
Definition at line 59 of file butterflysceneitem.cpp.
QRectF ButterflySceneItem::boundingRect | ( | ) | const |
Returns the bounding rect of the electrode item. This rect describes the area which the item uses to plot in.
Definition at line 79 of file butterflysceneitem.cpp.
|
virtual |
Reimplemented paint function.
Definition at line 89 of file butterflysceneitem.cpp.
|
protected |
Create a plot path and paint the average data
[in] | painter | The painter used to plot in this item. |
Definition at line 106 of file butterflysceneitem.cpp.
QList<QColor> MNEBrowseRawQt::ButterflySceneItem::m_cAverageColors |
The current average color.
Definition at line 121 of file butterflysceneitem.h.
QPair<int,int> MNEBrowseRawQt::ButterflySceneItem::m_firstLastSample |
The first and last sample.
Definition at line 123 of file butterflysceneitem.h.
fiff_int_t MNEBrowseRawQt::ButterflySceneItem::m_iSetKind |
The set kind which is to be plotted (MEG or EEG).
Definition at line 117 of file butterflysceneitem.h.
fiff_int_t MNEBrowseRawQt::ButterflySceneItem::m_iSetUnit |
The set unit. Used to determine whether mag or grad channels are to be plotted.
Definition at line 118 of file butterflysceneitem.h.
RowVectorPair MNEBrowseRawQt::ButterflySceneItem::m_lAverageData |
The channels average data which is to be plotted.
Definition at line 122 of file butterflysceneitem.h.
const FiffInfo* MNEBrowseRawQt::ButterflySceneItem::m_pFiffInfo |
The fiff info.
Definition at line 119 of file butterflysceneitem.h.
QMap<QString,double> MNEBrowseRawQt::ButterflySceneItem::m_scaleMap |
Map with all channel types and their current scaling value.
Definition at line 124 of file butterflysceneitem.h.
QString MNEBrowseRawQt::ButterflySceneItem::m_sSetName |
The set name.
Definition at line 116 of file butterflysceneitem.h.