MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The FwdSettingsView class provides a QWidget for the real-time Forward Solution controls. More...
#include <fwdsettingsview.h>
Signals | |
void | recompStatusChanged (bool bChecked) |
void | clusteringStatusChanged (bool bChecked) |
void | atlasDirChanged (const QString &sDirPath, const FSLIB::AnnotationSet::SPtr pAnnotationSet) |
void | doForwardComputation () |
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) | |
bool | getRecomputationStatusChanged () |
void | setRecomputationStatus (int iStatus) |
bool | getClusteringStatusChanged () |
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 |
The FwdSettingsView class provides a QWidget for the real-time Forward Solution controls.
The FwdSettingsView class provides a QWidget for the real-time Forward Solution controls.
Definition at line 82 of file fwdsettingsview.h.
|
explicit |
Constructs a FwdSettingsView object.
Definition at line 72 of file fwdsettingsview.cpp.
|
signal |
Emit this signal whenever the atlas directory is set.
[in] | sDirPath | The path to the atlas. |
[in] | pAnnotationSet | The Annotation set. |
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 306 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.
bool FwdSettingsView::getClusteringStatusChanged | ( | ) |
Get status of clustering check box.
Definition at line 251 of file fwdsettingsview.cpp.
bool FwdSettingsView::getRecomputationStatusChanged | ( | ) |
Get status of recomputation check box.
Definition at line 182 of file fwdsettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 146 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 258 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 134 of file fwdsettingsview.cpp.
void FwdSettingsView::setClusteredInformation | ( | int | iNSource | ) |
Updates clustered forward solution information
[in] | iNSource | Number of clustered source dipoles. |
Definition at line 273 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 189 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 214 of file fwdsettingsview.cpp.
void FwdSettingsView::showAtlasDirDialog | ( | ) |
Shows atlas selection dialog
Definition at line 281 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 158 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 170 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.