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{
49class DipoleFitViewWidget;
50}
51
52//=============================================================================================================
53// DEFINE NAMESPACE DISPLIB
54//=============================================================================================================
55
56namespace DISPLIB
57{
58
59//=============================================================================================================
69{
70 Q_OBJECT
71
72public:
73 DipoleFitView(QWidget* parent = 0,
74 Qt::WindowFlags f = Qt::Widget);
75
76 //=========================================================================================================
80 void saveSettings();
81
82 //=========================================================================================================
86 void loadSettings();
87
88 //=========================================================================================================
94 void addBem(const QString& sFileName);
95
96 //=========================================================================================================
102 void addMri(const QString& sFileName);
103
104 //=========================================================================================================
110 void addNoise(const QString& sFileName);
111
112 //=========================================================================================================
118 void addMeas(const QString& sFileName);
119
120 //=========================================================================================================
127 void removeModel(const QString& sModelName, int iType);
128
129 //=========================================================================================================
133 void requestParams();
134
135 //=========================================================================================================
139 void clearView();
140
141protected:
142 //=========================================================================================================
148 void updateGuiMode(GuiMode mode);
149
150 //=========================================================================================================
157
158private:
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 //=========================================================================================================
238 void regChanged(double dRegGrad,
239 double dRegMag,
240 double dRegEeg);
241
242 //=========================================================================================================
248 void setChanged(int iSet);
249
250 //=========================================================================================================
259 void sphereChanged(double dX,
260 double dY,
261 double dZ,
262 double dRadius);
263
264 //=========================================================================================================
270 void selectedBem(const QString& sName);
271
272 //=========================================================================================================
278 void selectedMri(const QString& sName);
279
280 //=========================================================================================================
286 void selectedNoise(const QString& sName);
287
288 //=========================================================================================================
294 void selectedMeas(const QString& sName);
295};
296} //namespace
297
298#endif // DIPOLEFITVIEW_H
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
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)