MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
mne_nearest.h
Go to the documentation of this file.
1//=============================================================================================================
37#ifndef MNENEAREST_H
38#define MNENEAREST_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "../mne_global.h"
45
46//=============================================================================================================
47// EIGEN INCLUDES
48//=============================================================================================================
49
50#include <Eigen/Core>
51
52//=============================================================================================================
53// QT INCLUDES
54//=============================================================================================================
55
56#include <QSharedPointer>
57
58//=============================================================================================================
59// DEFINE NAMESPACE MNELIB
60//=============================================================================================================
61
62namespace MNELIB
63{
64
65//=============================================================================================================
66// FORWARD DECLARATIONS
67//=============================================================================================================
68
69class MnePatchInfo;
70
71//=============================================================================================================
78{
79public:
80 typedef QSharedPointer<MneNearest> SPtr;
81 typedef QSharedPointer<const MneNearest> ConstSPtr;
83 //=========================================================================================================
87 MneNearest();
88
89 //=========================================================================================================
95
96public:
97 int vert; /* Number of this vertex (to enable sorting) */
98 int nearest; /* Nearest 'inuse' vertex */
99 float dist; /* Distance to the nearest 'inuse' vertex */
100 MnePatchInfo* patch; /* The patch information record for the patch this vertex belongs to */
101
102// ### OLD STRUCT ###
103//typedef struct { /* This is used in the patch definitions */
104// int vert; /* Number of this vertex (to enable sorting) */
105// int nearest; /* Nearest 'inuse' vertex */
106// float dist; /* Distance to the nearest 'inuse' vertex */
107// MnePatchInfo* patch; /* The patch information record for the patch this vertex belongs to */
108//} *mneNearest,mneNearestRec;
109};
110
111//=============================================================================================================
112// INLINE DEFINITIONS
113//=============================================================================================================
114} // NAMESPACE MNELIB
115
116#endif // MNENEAREST_H
#define MNESHARED_EXPORT
Definition mne_global.h:56
This is used in the patch definitions.
Definition mne_nearest.h:78
QSharedPointer< MneNearest > SPtr
Definition mne_nearest.h:80
QSharedPointer< const MneNearest > ConstSPtr
Definition mne_nearest.h:81
One item in a derivation data set.