MNE-CPP
0.1.9
A Framework for Electrophysiology
src
libraries
inverse
dipoleFit
guess_data.h
Go to the documentation of this file.
1
//=============================================================================================================
37
#ifndef GUESSDATA_H
38
#define GUESSDATA_H
39
40
//=============================================================================================================
41
// INCLUDES
42
//=============================================================================================================
43
44
#include "../inverse_global.h"
45
#include "
dipole_forward.h
"
46
47
//=============================================================================================================
48
// EIGEN INCLUDES
49
//=============================================================================================================
50
51
#include <Eigen/Core>
52
53
//=============================================================================================================
54
// QT INCLUDES
55
//=============================================================================================================
56
57
#include <QSharedPointer>
58
59
//=============================================================================================================
60
// DEFINE NAMESPACE INVERSELIB
61
//=============================================================================================================
62
63
namespace
INVERSELIB
64
{
65
66
//=============================================================================================================
67
// FORWARD DECLARATIONS
68
//=============================================================================================================
69
70
class
DipoleFitData;
71
72
//=============================================================================================================
78
class
INVERSESHARED_EXPORT
GuessData
79
{
80
public
:
81
typedef
QSharedPointer<GuessData>
SPtr
;
82
typedef
QSharedPointer<const GuessData>
ConstSPtr
;
84
//=========================================================================================================
89
GuessData
();
90
91
// //=========================================================================================================
92
// /**
93
// * Copy constructor.
94
// *
95
// * @param[in] p_GuessData GuessData which should be copied
96
// */
97
// GuessData(const GuessData& p_GuessData);
98
99
//=========================================================================================================
107
GuessData
(
const
QString& guessname,
const
QString& guess_surfname,
float
mindist,
float
exclude,
float
grid,
DipoleFitData
* f);
108
109
//=========================================================================================================
117
GuessData
(
const
QString& guessname,
const
QString& guess_surfname,
float
mindist,
float
exclude,
float
grid,
DipoleFitData
* f,
char
*guess_save_name);
118
119
//=========================================================================================================
124
~
GuessData
();
125
126
//=========================================================================================================
135
bool
compute_guess_fields(
DipoleFitData
* f);
136
137
public
:
138
float
**
rr
;
139
DipoleForward
**
guess_fwd
;
140
int
nguess
;
142
// ### OLD STRUCT ###
143
// typedef struct {
144
// float **rr; /**< These are the guess dipole locations. */
145
// DipoleForward** guess_fwd; /**< Forward solutions for the guesses. */
146
// int nguess; /**< How many sources. */
147
// } *guessData,guessDataRec;
148
};
149
150
//=============================================================================================================
151
// INLINE DEFINITIONS
152
//=============================================================================================================
153
}
// NAMESPACE INVERSELIB
154
155
#endif // GUESSDATA_H
INVERSELIB::GuessData::nguess
int nguess
Definition:
guess_data.h:140
INVERSESHARED_EXPORT
#define INVERSESHARED_EXPORT
Definition:
inverse_global.h:56
dipole_forward.h
DipoleForward class declaration.
INVERSELIB::GuessData::SPtr
QSharedPointer< GuessData > SPtr
Definition:
guess_data.h:81
INVERSELIB::DipoleFitData
Dipole Fit Data implementation.
Definition:
dipole_fit_data.h:109
INVERSELIB::GuessData::guess_fwd
DipoleForward ** guess_fwd
Definition:
guess_data.h:139
INVERSELIB::GuessData::ConstSPtr
QSharedPointer< const GuessData > ConstSPtr
Definition:
guess_data.h:82
INVERSELIB::DipoleForward
DipoleForward description.
Definition:
dipole_forward.h:72
INVERSELIB::GuessData
GuessData description.
Definition:
guess_data.h:78
INVERSELIB::GuessData::rr
float ** rr
Definition:
guess_data.h:138
Generated on Wed Aug 9 2023 17:55:42 for MNE-CPP by
1.8.17