Single viewport of a plotter layout (one line of an MNE-C .lout file).
More...
#include <mne_layout_port.h>
Public Member Functions | |
| bool | contains (const QString &channel) const |
| QRectF | rect () const |
Static Public Member Functions | |
| static QString | cleanName (const QString &name) |
Public Attributes | |
| int | portno = 0 |
| bool | invert = false |
| float | xmin = 0 |
| float | xmax = 0 |
| float | ymin = 0 |
| float | ymax = 0 |
| QString | label |
| QStringList | names |
| bool | matched = false |
Single viewport of a plotter layout (one line of an MNE-C .lout file).
Channel names are stored in matching form: lower case, without spaces and without anything after a dash (MNE-C mne_lout_clean_name), so "MEG 0113" and "meg0113" select the same port and a CTF "MLC11-2622" matches "MLC11".
Definition at line 43 of file mne_layout_port.h.
|
static |
Returns name in matching form.
| [in] | name | A channel name. |
Definition at line 58 of file mne_layout.cpp.
| bool MNELayoutPort::contains | ( | const QString & | channel | ) | const |
Returns whether channel (any spelling) is one of the port's channels.
| [in] | channel | A channel name. |
Definition at line 65 of file mne_layout.cpp.
|
inline |
Returns the viewport box.
Definition at line 72 of file mne_layout_port.h.
| bool MNELIB::MNELayoutPort::invert = false |
Draw the signal upside down (negative height in the file).
Definition at line 78 of file mne_layout_port.h.
| QString MNELIB::MNELayoutPort::label |
Channel names as written in the file (e.g. "MEG 0113").
Definition at line 83 of file mne_layout_port.h.
| bool MNELIB::MNELayoutPort::matched = false |
Set by the last MNELayout::matchPorts call.
Definition at line 85 of file mne_layout_port.h.
| QStringList MNELIB::MNELayoutPort::names |
Channel names in matching form (see cleanName()).
Definition at line 84 of file mne_layout_port.h.
| int MNELIB::MNELayoutPort::portno = 0 |
Running number of this viewport.
Definition at line 77 of file mne_layout_port.h.
| float MNELIB::MNELayoutPort::xmax = 0 |
Viewport right bound.
Definition at line 80 of file mne_layout_port.h.
| float MNELIB::MNELayoutPort::xmin = 0 |
Viewport left bound.
Definition at line 79 of file mne_layout_port.h.
| float MNELIB::MNELayoutPort::ymax = 0 |
Viewport top bound.
Definition at line 82 of file mne_layout_port.h.
| float MNELIB::MNELayoutPort::ymin = 0 |
Viewport bottom bound.
Definition at line 81 of file mne_layout_port.h.