Forward-solution computation control panel (BEM / source-space / EEG sphere model selectors). More...
#include <fwdsettingsview.h>
Signals | |
| void | recompStatusChanged (bool bChecked) |
| void | clusteringStatusChanged (bool bChecked) |
| void | atlasDirChanged (const QString &sDirPath, const FSLIB::FsAnnotationSet::SPtr pAnnotationSet) |
| void | doForwardComputation () |
| void | clusterNumberChanged (int iNCluster) |
| Signals inherited from DISPLIB::AbstractView | |
| void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
| FwdSettingsView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| ~FwdSettingsView () | |
| bool | getRecomputationStatusChanged () |
| void | setRecomputationStatus (int iStatus) |
| bool | getClusteringStatusChanged () |
| int | getClusterNumber () |
| void | showAtlasDirDialog () |
| void | setSolutionInformation (FIFFLIB::fiff_int_t iSourceOri, FIFFLIB::fiff_int_t iCoordFrame, int iNSource, int iNChan, int iNSpaces) |
| void | setClusteredInformation (int iNSource) |
| void | onClusteringStatusChanged (bool bChecked) |
| void | saveSettings () |
| void | loadSettings () |
| 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) |
Protected Attributes | |
| bool | m_bAnnotaionsLoaded |
| Ui::FwdSettingsViewWidget * | m_pUi |
| QString | m_sSettingsPath |
| Protected Attributes inherited from DISPLIB::AbstractView | |
| bool | m_bResearchModeIsActive |
| bool | m_bOfflineModeIsActive |
| QString | m_sSettingsPath |
Additional Inherited Members | |
| Public Types inherited from DISPLIB::AbstractView | |
| enum | StyleMode { Default , Dark } |
| enum | GuiMode { Clinical , Research } |
| enum | ProcessingMode { RealTime , Offline } |
| typedef QSharedPointer< AbstractView > | SPtr |
| typedef QSharedPointer< const AbstractView > | ConstSPtr |
Forward-solution computation control panel (BEM / source-space / EEG sphere model selectors).
Exposes the parameters required by the FWDLIB recomputation job and provides a Recompute trigger plus live status labels showing the currently loaded BEM and dipole / sensor counts.
Definition at line 74 of file fwdsettingsview.h.

|
explicit |
Constructs a FwdSettingsView object.
Definition at line 55 of file fwdsettingsview.cpp.
| FwdSettingsView::~FwdSettingsView | ( | ) |
Definition at line 112 of file fwdsettingsview.cpp.
|
signal |
Emit this signal whenever the atlas directory is set.
| [in] | sDirPath | The path to the atlas. |
| [in] | pAnnotationSet | The FsAnnotation set. |
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 303 of file fwdsettingsview.cpp.
|
signal |
Emit this signal whenever clustering checkbox changed.
| [in] | bChecked | Whether the clustering check box is checked. |
|
signal |
Emit this signal whenever a forward computation is supposed to be triggered.
| [in] | iNCluster | Number of desired sources in the clustered source space. |
|
signal |
Emit this signal whenever a forward computation is supposed to be triggered.
| bool FwdSettingsView::getClusteringStatusChanged | ( | ) |
Get status of clustering check box.
Definition at line 241 of file fwdsettingsview.cpp.
| int FwdSettingsView::getClusterNumber | ( | ) |
Get status of cluster size spin box.
Definition at line 248 of file fwdsettingsview.cpp.
| bool FwdSettingsView::getRecomputationStatusChanged | ( | ) |
Get status of recomputation check box.
Definition at line 169 of file fwdsettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 133 of file fwdsettingsview.cpp.
| void FwdSettingsView::onClusteringStatusChanged | ( | bool | bChecked | ) |
Updates clustered forward solution information
| [in] | bChecked | Whether the clustering check box is checked.. |
Definition at line 255 of file fwdsettingsview.cpp.
|
signal |
Emit this signal whenever recomputation checkbox changed.
| [in] | bChecked | Whether the recomputation check box is checked. |
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 121 of file fwdsettingsview.cpp.
| void FwdSettingsView::setClusteredInformation | ( | int | iNSource | ) |
Updates clustered forward solution information
| [in] | iNSource | Number of clustered source dipoles. |
Definition at line 270 of file fwdsettingsview.cpp.
| void FwdSettingsView::setRecomputationStatus | ( | int | iStatus | ) |
Updates the clustering status (0 Initializing, 1 Computing, 2 Recomputing, 3 Clustering, 4 Not Computed, 5 Finished).
| [in] | iStatus | status of recomputation. |
Definition at line 176 of file fwdsettingsview.cpp.
| void FwdSettingsView::setSolutionInformation | ( | FIFFLIB::fiff_int_t | iSourceOri, |
| FIFFLIB::fiff_int_t | iCoordFrame, | ||
| int | iNSource, | ||
| int | iNChan, | ||
| int | iNSpaces ) |
Updates forward solution information
| [in] | iSourceOri | Source orientation: fixed or free. |
| [in] | iCoordFrame | Coil coordinate system definition. |
| [in] | iNSource | Number of source dipoles. |
| [in] | iNChan | Number of channels. |
| [in] | iNSpaces | Number of source spaces. |
Definition at line 204 of file fwdsettingsview.cpp.
| void FwdSettingsView::showAtlasDirDialog | ( | ) |
Shows atlas selection dialog
Definition at line 278 of file fwdsettingsview.cpp.
|
protectedvirtual |
Update the views GUI based on the set GuiMode (Clinical=0, Research=1).
| [in] | mode | The new mode (Clinical=0, Research=1). |
Implements DISPLIB::AbstractView.
Definition at line 145 of file fwdsettingsview.cpp.
|
protectedvirtual |
Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).
| [in] | mode | The new mode (RealTime=0, Offline=1). |
Implements DISPLIB::AbstractView.
Definition at line 157 of file fwdsettingsview.cpp.
|
protected |
If the annotationset is loaded.
Definition at line 199 of file fwdsettingsview.h.
|
protected |
The rtFwd dialog.
Definition at line 201 of file fwdsettingsview.h.
|
protected |
The settings path to store the GUI settings to.
Definition at line 203 of file fwdsettingsview.h.