v2.0.0
Loading...
Searching...
No Matches
mne_proj_item.h
Go to the documentation of this file.
1//=============================================================================================================
17
18#ifndef MNEPROJITEM_H
19#define MNEPROJITEM_H
20
21//=============================================================================================================
22// INCLUDES
23//=============================================================================================================
24
25#include "mne_global.h"
26#include "mne_named_matrix.h"
27
28//=============================================================================================================
29// STL INCLUDES
30//=============================================================================================================
31
32#include <memory>
33
34//=============================================================================================================
35// EIGEN INCLUDES
36//=============================================================================================================
37
38#include <Eigen/Core>
39
40//=============================================================================================================
41// QT INCLUDES
42//=============================================================================================================
43
44#include <QSharedPointer>
45
46//=============================================================================================================
47// DEFINE NAMESPACE MNELIB
48//=============================================================================================================
49
50namespace MNELIB
51{
52
53//=============================================================================================================
67{
68public:
69 typedef QSharedPointer<MNEProjItem> SPtr;
70 typedef QSharedPointer<const MNEProjItem> ConstSPtr;
71
72 //=========================================================================================================
80
81 //=========================================================================================================
87 MNEProjItem(const MNEProjItem& other);
88
89 //=========================================================================================================
95 MNEProjItem& operator=(const MNEProjItem& other);
96
97 //=========================================================================================================
101 MNEProjItem(MNEProjItem&&) noexcept = default;
102
103 //=========================================================================================================
107 MNEProjItem& operator=(MNEProjItem&&) noexcept = default;
108
109 //=========================================================================================================
113 ~MNEProjItem();
114
115 //=========================================================================================================
128 int affect(const QStringList& list, int nlist) const;
129
130public:
131 std::unique_ptr<MNENamedMatrix> vecs;
132 int nvec;
133 QString desc;
134 int kind;
135 bool active;
137 bool has_meg;
138 bool has_eeg;
139};
140
141} // NAMESPACE MNELIB
142
143#endif // MNEPROJITEM_H
Row/column-labelled dense matrix used wherever FIFF stores per-channel data.
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).
A dense matrix with named rows and columns.
QSharedPointer< const MNEProjItem > ConstSPtr
MNEProjItem(MNEProjItem &&) noexcept=default
Move constructor (defaulted).
std::unique_ptr< MNENamedMatrix > vecs
int affect(const QStringList &list, int nlist) const
Test whether this projection item affects any of the listed channels.
MNEProjItem()
Default constructor.
QSharedPointer< MNEProjItem > SPtr
MNEProjItem & operator=(const MNEProjItem &other)
Copy assignment operator.