v2.0.0
Loading...
Searching...
No Matches
dipolefitview.h
Go to the documentation of this file.
1//=============================================================================================================
21
22#ifndef DIPOLEFITVIEW_H
23#define DIPOLEFITVIEW_H
24
25//=============================================================================================================
26// INCLUDES
27//=============================================================================================================
28
29#include "../disp_global.h"
30#include "abstractview.h"
31
32//=============================================================================================================
33// QT INCLUDES
34//=============================================================================================================
35
36#include <QWidget>
37#include <QPointer>
38
39//=============================================================================================================
40// EIGEN INCLUDES
41//=============================================================================================================
42
43//=============================================================================================================
44// FORWARD DECLARATIONS
45//=============================================================================================================
46
47namespace Ui {
48 class DipoleFitViewWidget;
49}
50
51//=============================================================================================================
52// DEFINE NAMESPACE DISPLIB
53//=============================================================================================================
54
55namespace DISPLIB
56{
57
58//=============================================================================================================
68{
69 Q_OBJECT
70
71public:
72 DipoleFitView(QWidget *parent = 0,
73 Qt::WindowFlags f = Qt::Widget);
74
75 //=========================================================================================================
79 void saveSettings();
80
81 //=========================================================================================================
85 void loadSettings();
86
87 //=========================================================================================================
93 void addBem(const QString& sFileName);
94
95 //=========================================================================================================
101 void addMri(const QString& sFileName);
102
103 //=========================================================================================================
109 void addNoise(const QString& sFileName);
110
111 //=========================================================================================================
117 void addMeas(const QString& sFileName);
118
119 //=========================================================================================================
126 void removeModel(const QString& sModelName, int iType);
127
128 //=========================================================================================================
132 void requestParams();
133
134 //=========================================================================================================
138 void clearView();
139
140protected:
141 //=========================================================================================================
147 void updateGuiMode(GuiMode mode);
148
149 //=========================================================================================================
156
157private:
158
159 //=========================================================================================================
163 void initGui();
164
165 Ui::DipoleFitViewWidget* m_pUi;
166
167signals:
168 //=========================================================================================================
172 void performDipoleFit(const QString& sFitName);
173
174 //=========================================================================================================
181 void modalityChanged(bool bEEG,
182 bool bMEG);
183
184 //=========================================================================================================
193 void timeChanged(int iMin,
194 int iMax,
195 int iStep,
196 int iInt);
197
198 //=========================================================================================================
205 void fittingChanged(int iMinDistance,
206 int iSize);
207
208 //=========================================================================================================
215 void baselineChanged(int iBMin,
216 int iBMax);
217
218 //=========================================================================================================
226 void noiseChanged(double dGrad,
227 double dMag,
228 double dEeg);
229
230 //=========================================================================================================
239 void regChanged(double dRegGrad,
240 double dRegMag,
241 double dRegEeg);
242
243 //=========================================================================================================
249 void setChanged(int iSet);
250
251 //=========================================================================================================
260 void sphereChanged(double dX,
261 double dY,
262 double dZ,
263 double dRadius);
264
265 //=========================================================================================================
271 void selectedBem(const QString& sName);
272
273 //=========================================================================================================
279 void selectedMri(const QString& sName);
280
281 //=========================================================================================================
287 void selectedNoise(const QString& sName);
288
289 //=========================================================================================================
295 void selectedMeas(const QString& sName);
296
297};
298}//namespace
299
300#endif // DIPOLEFITVIEW_H
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
2-D display widgets and visualisation helpers (charts, topography, colour maps).
AbstractView(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
void addNoise(const QString &sFileName)
void selectedMeas(const QString &sName)
void addMri(const QString &sFileName)
void noiseChanged(double dGrad, double dMag, double dEeg)
void sphereChanged(double dX, double dY, double dZ, double dRadius)
void updateGuiMode(GuiMode mode)
void addBem(const QString &sFileName)
void selectedNoise(const QString &sName)
void regChanged(double dRegGrad, double dRegMag, double dRegEeg)
void performDipoleFit(const QString &sFitName)
void removeModel(const QString &sModelName, int iType)
void updateProcessingMode(ProcessingMode mode)
void selectedMri(const QString &sName)
void addMeas(const QString &sFileName)
void timeChanged(int iMin, int iMax, int iStep, int iInt)
void selectedBem(const QString &sName)
void baselineChanged(int iBMin, int iBMax)
void modalityChanged(bool bEEG, bool bMEG)
void setChanged(int iSet)
DipoleFitView(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
void fittingChanged(int iMinDistance, int iSize)