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//=============================================================================================================
69{
70public:
71 typedef QSharedPointer<MNEProjItem> SPtr;
72 typedef QSharedPointer<const MNEProjItem> ConstSPtr;
73
74 //=========================================================================================================
82
83 //=========================================================================================================
91 MNEProjItem(const MNEProjItem& other);
92
93 //=========================================================================================================
103 MNEProjItem& operator=(const MNEProjItem& other);
104
105 //=========================================================================================================
109 MNEProjItem(MNEProjItem&&) noexcept = default;
110
111 //=========================================================================================================
117 MNEProjItem& operator=(MNEProjItem&&) noexcept = default;
118
119 //=========================================================================================================
123 ~MNEProjItem();
124
125 //=========================================================================================================
138 int affect(const QStringList& list, int nlist) const;
139
140public:
141 std::unique_ptr<MNENamedMatrix> vecs;
142 int nvec;
143 QString desc;
144 int kind;
145 bool active;
147 bool has_meg;
148 bool has_eeg;
149};
150
151} // NAMESPACE MNELIB
152
153#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.