MNE-CPP
0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
src
libraries
mne
c
mne_surface_patch.h
Go to the documentation of this file.
1
//=============================================================================================================
36
#ifndef MNESURFACEPATCH_H
37
#define MNESURFACEPATCH_H
38
39
//=============================================================================================================
40
// INCLUDES
41
//=============================================================================================================
42
43
#include "../mne_global.h"
44
45
typedef
void (*mneUserFreeFunc)(
void
*);
/* General purpose */
46
47
//=============================================================================================================
48
// EIGEN INCLUDES
49
//=============================================================================================================
50
51
//=============================================================================================================
52
// QT INCLUDES
53
//=============================================================================================================
54
55
#include <QSharedPointer>
56
57
//=============================================================================================================
58
// FORWARD DECLARATIONS
59
//=============================================================================================================
60
61
//=============================================================================================================
62
// DEFINE NAMESPACE MNELIB
63
//=============================================================================================================
64
65
namespace
MNELIB
66
{
67
68
//=============================================================================================================
69
// MNELIB FORWARD DECLARATIONS
70
//=============================================================================================================
71
72
class
MneSourceSpaceOld;
73
74
//=============================================================================================================
80
class
MNESHARED_EXPORT
MneSurfacePatch
81
{
82
public
:
83
typedef
QSharedPointer<MneSurfacePatch>
SPtr
;
84
typedef
QSharedPointer<const MneSurfacePatch>
ConstSPtr
;
86
//=========================================================================================================
90
MneSurfacePatch
(
int
np);
91
92
//=========================================================================================================
96
~MneSurfacePatch
();
97
98
public
:
99
MneSourceSpaceOld
*s;
/* Patch represented as a surface */
100
int
*vert;
/* Vertex numbers in the complete surface*/
101
int
*surf_vert;
/* Which vertex corresponds to each complete surface vertex here? */
102
int
np_surf;
/* How many points on the complete surface? */
103
int
*tri;
/* Which triangles in the complete surface correspond to our triangles? */
104
int
*surf_tri;
/* Which of our triangles corresponds to each triangle on the complete surface? */
105
int
ntri_surf;
/* How many triangles on the complete surface */
106
int
*border;
/* Is this vertex on the border? */
107
int
flat;
/* Is this a flat patch? */
108
void
*user_data;
/* Anything else we want */
109
mneUserFreeFunc user_data_free;
/* Function to set the above free */
110
111
// ### OLD STRUCT ###
112
// typedef struct { /* FreeSurfer patches */
113
// mneSurface s; /* Patch represented as a surface */
114
// int *vert; /* Vertex numbers in the complete surface*/
115
// int *surf_vert; /* Which vertex corresponds to each complete surface vertex here? */
116
// int np_surf; /* How many points on the complete surface? */
117
// int *tri; /* Which triangles in the complete surface correspond to our triangles? */
118
// int *surf_tri; /* Which of our triangles corresponds to each triangle on the complete surface? */
119
// int ntri_surf; /* How many triangles on the complete surface */
120
// int *border; /* Is this vertex on the border? */
121
// int flat; /* Is this a flat patch? */
122
// void *user_data; /* Anything else we want */
123
// mneUserFreeFunc user_data_free; /* Function to set the above free */
124
// } *mneSurfacePatch,mneSurfacePatchRec;
125
};
126
127
//=============================================================================================================
128
// INLINE DEFINITIONS
129
//=============================================================================================================
130
}
// NAMESPACE MNELIB
131
132
#endif
// MNESURFACEPATCH_H
MNESHARED_EXPORT
#define MNESHARED_EXPORT
Definition
mne_global.h:56
MNELIB::MneSourceSpaceOld
This defines a source space.
Definition
mne_source_space_old.h:77
MNELIB::MneSurfacePatch
The MneSurfacePatch class.
Definition
mne_surface_patch.h:81
MNELIB::MneSurfacePatch::ConstSPtr
QSharedPointer< const MneSurfacePatch > ConstSPtr
Definition
mne_surface_patch.h:84
MNELIB::MneSurfacePatch::SPtr
QSharedPointer< MneSurfacePatch > SPtr
Definition
mne_surface_patch.h:83
Generated on Sat Feb 14 2026 16:30:24 for MNE-CPP by
1.9.8