v2.0.0
Loading...
Searching...
No Matches
mne_layout.h
Go to the documentation of this file.
1//=============================================================================================================
36
37#ifndef MNE_LAYOUT_H
38#define MNE_LAYOUT_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "mne_global.h"
45#include "mne_layout_port.h"
46
47#include <QString>
48#include <vector>
49
50#include <Eigen/Core>
51
52//=============================================================================================================
53// DEFINE NAMESPACE MNELIB
54//=============================================================================================================
55
56namespace MNELIB
57{
58
59//=============================================================================================================
67{
68public:
69 MNELayout() = default;
70 ~MNELayout() = default;
71
72 QString name;
73 float xmin = 0;
74 float xmax = 0;
75 float ymin = 0;
76 float ymax = 0;
77 float cxmin = 0;
78 float cxmax = 0;
79 float cymin = 0;
80 float cymax = 0;
81 std::vector<MNELayoutPort> ports;
82 Eigen::MatrixXi match;
83
87 int nmatch() const { return match.rows(); }
88};
89
90} // namespace MNELIB
91
92#endif // MNE_LAYOUT_H
mne library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:52
MNELayoutPort class declaration.
Core MNE data structures (source spaces, source estimates, hemispheres).
~MNELayout()=default
Eigen::MatrixXi match
Definition mne_layout.h:82
MNELayout()=default
int nmatch() const
Returns the number of channels (rows in match matrix).
Definition mne_layout.h:87
std::vector< MNELayoutPort > ports
Definition mne_layout.h:81