v2.0.0
Loading...
Searching...
No Matches
mne_layout.h
Go to the documentation of this file.
1#ifndef MNE_LAYOUT_H
2#define MNE_LAYOUT_H
3
4//=============================================================================================================
5// INCLUDES
6//=============================================================================================================
7
8#include "mne_global.h"
9#include "mne_layout_port.h"
10
11#include <QString>
12#include <vector>
13
14#include <Eigen/Core>
15
16//=============================================================================================================
17// DEFINE NAMESPACE MNELIB
18//=============================================================================================================
19
20namespace MNELIB
21{
22
23//=============================================================================================================
31{
32public:
33 MNELayout() = default;
34 ~MNELayout() = default;
35
36 QString name;
37 float xmin = 0;
38 float xmax = 0;
39 float ymin = 0;
40 float ymax = 0;
41 float cxmin = 0;
42 float cxmax = 0;
43 float cymin = 0;
44 float cymax = 0;
45 std::vector<MNELayoutPort> ports;
46 Eigen::MatrixXi match;
47
51 int nmatch() const { return match.rows(); }
52};
53
54} // namespace MNELIB
55
56#endif // MNE_LAYOUT_H
mne library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:52
Core MNE data structures (source spaces, source estimates, hemispheres).
~MNELayout()=default
Eigen::MatrixXi match
Definition mne_layout.h:46
MNELayout()=default
int nmatch() const
Returns the number of channels (rows in match matrix).
Definition mne_layout.h:51
std::vector< MNELayoutPort > ports
Definition mne_layout.h:45