MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
fwd_eeg_sphere_layer.h
Go to the documentation of this file.
1//=============================================================================================================
37#ifndef FWDEEGSPHERELAYER_H
38#define FWDEEGSPHERELAYER_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "fwd_global.h"
45
46//=============================================================================================================
47// EIGEN INCLUDES
48//=============================================================================================================
49
50#include <Eigen/Core>
51
52//=============================================================================================================
53// QT INCLUDES
54//=============================================================================================================
55
56#include <QSharedPointer>
57#include <QDebug>
58
59//=============================================================================================================
60// DEFINE NAMESPACE FWDLIB
61//=============================================================================================================
62
63namespace FWDLIB
64{
65
66//=============================================================================================================
73{
74public:
75 typedef QSharedPointer<FwdEegSphereLayer> SPtr;
76 typedef QSharedPointer<const FwdEegSphereLayer> ConstSPtr;
78 //=========================================================================================================
83
84// //=========================================================================================================
85// /**
86// * Copy constructor.
87// *
88// * @param[in] p_FwdEegSphereLayer FwdEegSphereLayer which should be copied
89// */
90// FwdEegSphereLayer(const FwdEegSphereLayer& p_FwdEegSphereLayer);
91
92 //=========================================================================================================
97
98 static bool comp_layers(const FwdEegSphereLayer& v1,const FwdEegSphereLayer& v2)
99 /*
100 * Comparison function for sorting layers
101 */
102 {
103 if (v1.rad < v2.rad)
104 return true;
105 else
106 return false;
107 }
108
109public:
110 float rad;
111 float rel_rad;
112 float sigma;
114// ### OLD STRUCT ###
115// typedef struct {
116// float rad; /* The actual rads */
117// float rel_rad; /* Relative rads */
118// float sigma; /* Conductivity */
119// } *fwdEegSphereLayer,fwdEegSphereLayerRec;
120};
121
122//=============================================================================================================
123// INLINE DEFINITIONS
124//=============================================================================================================
125} // NAMESPACE FWDLIB
126
127#endif // FWDEEGSPHERELAYER_H
forward library export/import macros.
#define FWDSHARED_EXPORT
Definition fwd_global.h:57
FwdEegSphereLayer description.
QSharedPointer< FwdEegSphereLayer > SPtr
QSharedPointer< const FwdEegSphereLayer > ConstSPtr