v2.0.0
Loading...
Searching...
No Matches
mne_proj_item.h
Go to the documentation of this file.
1//=============================================================================================================
36
37#ifndef MNEPROJITEM_H
38#define MNEPROJITEM_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "mne_global.h"
45#include "mne_named_matrix.h"
46
47//=============================================================================================================
48// STL INCLUDES
49//=============================================================================================================
50
51#include <memory>
52
53//=============================================================================================================
54// EIGEN INCLUDES
55//=============================================================================================================
56
57#include <Eigen/Core>
58
59//=============================================================================================================
60// QT INCLUDES
61//=============================================================================================================
62
63#include <QSharedPointer>
64
65//=============================================================================================================
66// DEFINE NAMESPACE MNELIB
67//=============================================================================================================
68
69namespace MNELIB
70{
71
72//=============================================================================================================
86{
87public:
88 typedef QSharedPointer<MNEProjItem> SPtr;
89 typedef QSharedPointer<const MNEProjItem> ConstSPtr;
90
91 //=========================================================================================================
99
100 //=========================================================================================================
106 MNEProjItem(const MNEProjItem& other);
107
108 //=========================================================================================================
114 MNEProjItem& operator=(const MNEProjItem& other);
115
116 //=========================================================================================================
120 MNEProjItem(MNEProjItem&&) noexcept = default;
121
122 //=========================================================================================================
126 MNEProjItem& operator=(MNEProjItem&&) noexcept = default;
127
128 //=========================================================================================================
132 ~MNEProjItem();
133
134 //=========================================================================================================
147 int affect(const QStringList& list, int nlist) const;
148
149public:
150 std::unique_ptr<MNENamedMatrix> vecs;
151 int nvec;
152 QString desc;
153 int kind;
154 int active;
158};
159
160} // NAMESPACE MNELIB
161
162#endif // MNEPROJITEM_H
mne library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:52
MNENamedMatrix class declaration.
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.