v2.0.0
Loading...
Searching...
No Matches
mne_surface_patch.h
Go to the documentation of this file.
1//=============================================================================================================
35
36#ifndef MNESURFACEPATCH_H
37#define MNESURFACEPATCH_H
38
39//=============================================================================================================
40// INCLUDES
41//=============================================================================================================
42
43#include "mne_global.h"
44
45//=============================================================================================================
46// STL INCLUDES
47//=============================================================================================================
48
49#include <memory>
50
51//=============================================================================================================
52// EIGEN INCLUDES
53//=============================================================================================================
54
55#include <Eigen/Core>
56
57//=============================================================================================================
58// QT INCLUDES
59//=============================================================================================================
60
61#include <QSharedPointer>
62
63//=============================================================================================================
64// FORWARD DECLARATIONS
65//=============================================================================================================
66
67namespace MNELIB
68{
69
70//=============================================================================================================
71// MNELIB FORWARD DECLARATIONS
72//=============================================================================================================
73
74class MNESourceSpace;
75
76//=============================================================================================================
85{
86public:
87 typedef QSharedPointer<MNESurfacePatch> SPtr;
88 typedef QSharedPointer<const MNESurfacePatch> ConstSPtr;
89
90 //=========================================================================================================
96 MNESurfacePatch(int np);
97
98 //=========================================================================================================
103
104public:
105 std::unique_ptr<MNESourceSpace> s;
106 Eigen::VectorXi vert;
107 Eigen::VectorXi surf_vert;
108 Eigen::VectorXi tri;
109 Eigen::VectorXi surf_tri;
110 Eigen::VectorXi border;
111 int flat = 0;
112};
113
114} // NAMESPACE MNELIB
115
116#endif // MNESURFACEPATCH_H
mne library export/import macros.
#define MNESHARED_EXPORT
Definition mne_global.h:52
Core MNE data structures (source spaces, source estimates, hemispheres).
This defines a source space.
QSharedPointer< MNESurfacePatch > SPtr
QSharedPointer< const MNESurfacePatch > ConstSPtr
std::unique_ptr< MNESourceSpace > s