MNE-CPP  0.1.9
A Framework for Electrophysiology
Signals | Public Member Functions | Protected Member Functions | List of all members
DISPLIB::DipoleFitView Class Reference

Signals

void performDipoleFit (const QString &sFitName)
 
void modalityChanged (bool bEEG, bool bMEG)
 
void timeChanged (int iMin, int iMax, int iStep, int iInt)
 
void fittingChanged (int iMinDistance, int iSize)
 
void baselineChanged (int iBMin, int iBMax)
 
void noiseChanged (double dGrad, double dMag, double dEeg)
 
void regChanged (double dRegGrad, double dRegMag, double dRegEeg)
 
void setChanged (int iSet)
 
void sphereChanged (double dX, double dY, double dZ, double dRadius)
 
void selectedBem (const QString &sName)
 
void selectedMri (const QString &sName)
 
void selectedNoise (const QString &sName)
 
void selectedMeas (const QString &sName)
 
- Signals inherited from DISPLIB::AbstractView
void guiStyleChanged (DISPLIB::AbstractView::StyleMode style)
 

Public Member Functions

 DipoleFitView (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 
void saveSettings ()
 
void loadSettings ()
 
void addBem (const QString &sFileName)
 
void addMri (const QString &sFileName)
 
void addNoise (const QString &sFileName)
 
void addMeas (const QString &sFileName)
 
void removeModel (const QString &sModelName, int iType)
 
void requestParams ()
 
void clearView ()
 
- Public Member Functions inherited from DISPLIB::AbstractView
 AbstractView (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 
virtual void setGuiMode (GuiMode mode)
 
virtual void setProcessingMode (ProcessingMode mode)
 

Protected Member Functions

void updateGuiMode (GuiMode mode)
 
void updateProcessingMode (ProcessingMode mode)
 

Additional Inherited Members

- Public Types inherited from DISPLIB::AbstractView
enum  StyleMode { Default, Dark }
 
enum  GuiMode { Clinical, Research }
 
enum  ProcessingMode { RealTime, Offline }
 
typedef QSharedPointer< AbstractViewSPtr
 
typedef QSharedPointer< const AbstractViewConstSPtr
 
- Protected Attributes inherited from DISPLIB::AbstractView
bool m_bResearchModeIsActive
 
bool m_bOfflineModeIsActive
 
QString m_sSettingsPath
 

Detailed Description

Definition at line 72 of file dipolefitview.h.

Inheritance diagram for DISPLIB::DipoleFitView:
Inheritance graph

Member Function Documentation

◆ addBem()

void DipoleFitView::addBem ( const QString &  sFileName)

Updates GUI to show selected BEM file

Parameters
[in]sFileName.

Definition at line 110 of file dipolefitview.cpp.

◆ addMeas()

void DipoleFitView::addMeas ( const QString &  sFileName)

Updates GUI to show selected measurement file

Parameters
[in]sFileName.

Definition at line 325 of file dipolefitview.cpp.

◆ addMri()

void DipoleFitView::addMri ( const QString &  sFileName)

Updates GUI to show selected MRI file

Parameters
[in]sFileName.

Definition at line 117 of file dipolefitview.cpp.

◆ addNoise()

void DipoleFitView::addNoise ( const QString &  sFileName)

Updates GUI to show selecte Noise file

Parameters
[in]sFileName.

Definition at line 124 of file dipolefitview.cpp.

◆ baselineChanged

void DISPLIB::DipoleFitView::baselineChanged ( int  iBMin,
int  iBMax 
)
signal

Send new basline values

Parameters
[in]iBMinnew minimum in milliseconds.
[in]iBMaxnew maximum in milliseconds.

◆ clearView()

void DipoleFitView::clearView ( )
virtual

Clears the view

Implements DISPLIB::AbstractView.

Definition at line 339 of file dipolefitview.cpp.

◆ fittingChanged

void DISPLIB::DipoleFitView::fittingChanged ( int  iMinDistance,
int  iSize 
)
signal

Send new fitting values

Parameters
[in]iMinDistancedistance to inner skull in millimeters.
[in]iSizeradisu size guess in millimeters.

◆ loadSettings()

void DipoleFitView::loadSettings ( )
virtual

Loads and inits all important settings of this view via QSettings.

Implements DISPLIB::AbstractView.

Definition at line 79 of file dipolefitview.cpp.

◆ modalityChanged

void DISPLIB::DipoleFitView::modalityChanged ( bool  bEEG,
bool  bMEG 
)
signal

Send new modality selection

Parameters
[in]bEEGwhether to use EEG (true = yes, false = no).
[in]bMEGwhether to use MEG (true = yes, false = no).

◆ noiseChanged

void DISPLIB::DipoleFitView::noiseChanged ( double  dGrad,
double  dMag,
double  dEeg 
)
signal

Set new manual noise parameters

Parameters
[in]dGradgradiometer value.
[in]dMagmagnetometer value.
[in]dEegeeg value.

◆ performDipoleFit

void DISPLIB::DipoleFitView::performDipoleFit ( const QString &  sFitName)
signal

Triggers dipole fit calculation

◆ regChanged

void DISPLIB::DipoleFitView::regChanged ( double  dRegGrad,
double  dRegMag,
double  dRegEeg 
)
signal

Set new regularization parameters

Parameters
[in]iRegoverall regularization parameter.
[in]iRegGradgradiatometer regularizaation parameter.
[in]iRegMagmagnetometer regularization parameter.
[in]iRegEegeeg regularization parameter.

◆ removeModel()

void DipoleFitView::removeModel ( const QString &  sModelName,
int  iType 
)

Removes model from view

Parameters
[in]sModelNamename of model to be removed.
[in]iTypetype of model (1-measurement, 2-BEM, 3-MRI, 4-Cov).

Definition at line 349 of file dipolefitview.cpp.

◆ requestParams()

void DipoleFitView::requestParams ( )

Sends updated signals for parameters (excluding selected models)

Definition at line 131 of file dipolefitview.cpp.

◆ saveSettings()

void DipoleFitView::saveSettings ( )
virtual

Saves all important settings of this view via QSettings.

Implements DISPLIB::AbstractView.

Definition at line 72 of file dipolefitview.cpp.

◆ selectedBem

void DISPLIB::DipoleFitView::selectedBem ( const QString &  sName)
signal

Set new Bem model

Parameters
[in]sNamefile name.

◆ selectedMeas

void DISPLIB::DipoleFitView::selectedMeas ( const QString &  sName)
signal

Set new measurement model

Parameters
[in]sNamefile name.

◆ selectedMri

void DISPLIB::DipoleFitView::selectedMri ( const QString &  sName)
signal

Set new Mri model

Parameters
[in]sNamefile name.

◆ selectedNoise

void DISPLIB::DipoleFitView::selectedNoise ( const QString &  sName)
signal

Set new Noise model

Parameters
[in]sNamefile name.

◆ setChanged

void DISPLIB::DipoleFitView::setChanged ( int  iSet)
signal

Select set from measurement to use

Parameters
[in]iSet.

◆ sphereChanged

void DISPLIB::DipoleFitView::sphereChanged ( double  dX,
double  dY,
double  dZ,
double  dRadius 
)
signal

Set new spherer model parameters

Parameters
[in]dXx position in millimeters.
[in]dYy position in millimeters.
[in]dZz position in millimeters.
[in]dRadiusradius in millimeters.

◆ timeChanged

void DISPLIB::DipoleFitView::timeChanged ( int  iMin,
int  iMax,
int  iStep,
int  iInt 
)
signal

Send new time values

Parameters
[in]iMinnew minimum in milliseconds.
[in]iMaxnew maximum in milliseconds.
[in]iStepnew step value in milliseconds.
[in]iIntnew integration value in milliseconds.

◆ updateGuiMode()

void DipoleFitView::updateGuiMode ( GuiMode  mode)
protectedvirtual

Update the views GUI based on the set GuiMode (Clinical=0, Research=1).

Parameters
[in]modeThe new mode (Clinical=0, Research=1).

Implements DISPLIB::AbstractView.

Definition at line 86 of file dipolefitview.cpp.

◆ updateProcessingMode()

void DipoleFitView::updateProcessingMode ( ProcessingMode  mode)
protectedvirtual

Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).

Parameters
[in]modeThe new mode (RealTime=0, Offline=1).

Implements DISPLIB::AbstractView.

Definition at line 98 of file dipolefitview.cpp.


The documentation for this class was generated from the following files: