v2.0.0
Loading...
Searching...
No Matches
mne_layout_port.h
Go to the documentation of this file.
1//=============================================================================================================
12
13#ifndef MNE_LAYOUT_PORT_H
14#define MNE_LAYOUT_PORT_H
15
16//=============================================================================================================
17// INCLUDES
18//=============================================================================================================
19
20#include "mne_global.h"
21
22#include <QRectF>
23#include <QString>
24#include <QStringList>
25
26//=============================================================================================================
27// DEFINE NAMESPACE MNELIB
28//=============================================================================================================
29
30namespace MNELIB
31{
32
33//=============================================================================================================
44{
45public:
46 //=========================================================================================================
54 static QString cleanName(const QString& name);
55
56 //=========================================================================================================
64 bool contains(const QString& channel) const;
65
66 //=========================================================================================================
72 QRectF rect() const
73 {
74 return QRectF(xmin, ymin, xmax - xmin, ymax - ymin);
75 }
76
77 int portno = 0;
78 bool invert = false;
79 float xmin = 0;
80 float xmax = 0;
81 float ymin = 0;
82 float ymax = 0;
83 QString label;
84 QStringList names;
85 bool matched = false;
86};
87
88} // namespace MNELIB
89
90#endif // MNE_LAYOUT_PORT_H
MNELIB shared-library export/import macros and library build metadata.
#define MNESHARED_EXPORT
Definition mne_global.h:40
Core MNE data structures (source spaces, source estimates, hemispheres).
Single viewport of a plotter layout (one line of an MNE-C .lout file).
bool contains(const QString &channel) const
static QString cleanName(const QString &name)