The FwdSettingsView class provides a QWidget for the real-time Forward Solution controls.
More...
#include <fwdsettingsview.h>
|
| 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.
◆ FwdSettingsView()
| FwdSettingsView::FwdSettingsView |
( |
const QString & |
sSettingsPath = "", |
|
|
QWidget * |
parent = 0, |
|
|
Qt::WindowFlags |
f = Qt::Widget |
|
) |
| |
|
explicit |
◆ ~FwdSettingsView()
| FwdSettingsView::~FwdSettingsView |
( |
| ) |
|
◆ atlasDirChanged
Emit this signal whenever the atlas directory is set.
- Parameters
-
| [in] | sDirPath | The path to the atlas. |
| [in] | pAnnotationSet | The Annotation set. |
◆ clearView()
| void FwdSettingsView::clearView |
( |
| ) |
|
|
virtual |
◆ clusteringStatusChanged
| void DISPLIB::FwdSettingsView::clusteringStatusChanged |
( |
bool |
bChecked | ) |
|
|
signal |
Emit this signal whenever clustering checkbox changed.
- Parameters
-
| [in] | bChecked | Whether the clustering check box is checked. |
◆ clusterNumberChanged
| void DISPLIB::FwdSettingsView::clusterNumberChanged |
( |
int |
iNCluster | ) |
|
|
signal |
Emit this signal whenever a forward computation is supposed to be triggered.
- Parameters
-
| [in] | iNCluster | Number of desired sources in the clustered source space. |
◆ doForwardComputation
| void DISPLIB::FwdSettingsView::doForwardComputation |
( |
| ) |
|
|
signal |
Emit this signal whenever a forward computation is supposed to be triggered.
◆ getClusteringStatusChanged()
| bool FwdSettingsView::getClusteringStatusChanged |
( |
| ) |
|
Get status of clustering check box.
- Returns
- Wheter clustering is checked or not.
Definition at line 259 of file fwdsettingsview.cpp.
◆ getClusterNumber()
| int FwdSettingsView::getClusterNumber |
( |
| ) |
|
Get status of cluster size spin box.
- Returns
- Desired number of sources in clustered source space.
Definition at line 266 of file fwdsettingsview.cpp.
◆ getRecomputationStatusChanged()
| bool FwdSettingsView::getRecomputationStatusChanged |
( |
| ) |
|
Get status of recomputation check box.
- Returns
- If recomputation status is checked.
Definition at line 187 of file fwdsettingsview.cpp.
◆ loadSettings()
| void FwdSettingsView::loadSettings |
( |
| ) |
|
|
virtual |
◆ onClusteringStatusChanged()
| void FwdSettingsView::onClusteringStatusChanged |
( |
bool |
bChecked | ) |
|
Updates clustered forward solution information
- Parameters
-
| [in] | bChecked | Whether the clustering check box is checked.. |
Definition at line 273 of file fwdsettingsview.cpp.
◆ recompStatusChanged
| void DISPLIB::FwdSettingsView::recompStatusChanged |
( |
bool |
bChecked | ) |
|
|
signal |
Emit this signal whenever recomputation checkbox changed.
- Parameters
-
| [in] | bChecked | Whether the recomputation check box is checked. |
◆ saveSettings()
| void FwdSettingsView::saveSettings |
( |
| ) |
|
|
virtual |
◆ setClusteredInformation()
| void FwdSettingsView::setClusteredInformation |
( |
int |
iNSource | ) |
|
Updates clustered forward solution information
- Parameters
-
| [in] | iNSource | Number of clustered source dipoles. |
Definition at line 288 of file fwdsettingsview.cpp.
◆ setRecomputationStatus()
| void FwdSettingsView::setRecomputationStatus |
( |
int |
iStatus | ) |
|
Updates the clustering status (0 Initializing, 1 Computing, 2 Recomputing, 3 Clustering, 4 Not Computed, 5 Finished).
- Parameters
-
| [in] | iStatus | status of recomputation. |
Definition at line 194 of file fwdsettingsview.cpp.
◆ setSolutionInformation()
| void FwdSettingsView::setSolutionInformation |
( |
FIFFLIB::fiff_int_t |
iSourceOri, |
|
|
FIFFLIB::fiff_int_t |
iCoordFrame, |
|
|
int |
iNSource, |
|
|
int |
iNChan, |
|
|
int |
iNSpaces |
|
) |
| |
Updates forward solution information
- Parameters
-
| [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 222 of file fwdsettingsview.cpp.
◆ showAtlasDirDialog()
| void FwdSettingsView::showAtlasDirDialog |
( |
| ) |
|
◆ updateGuiMode()
| void FwdSettingsView::updateGuiMode |
( |
GuiMode |
mode | ) |
|
|
protectedvirtual |
Update the views GUI based on the set GuiMode (Clinical=0, Research=1).
- Parameters
-
| [in] | mode | The new mode (Clinical=0, Research=1). |
Implements DISPLIB::AbstractView.
Definition at line 163 of file fwdsettingsview.cpp.
◆ updateProcessingMode()
| void FwdSettingsView::updateProcessingMode |
( |
ProcessingMode |
mode | ) |
|
|
protectedvirtual |
Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).
- Parameters
-
| [in] | mode | The new mode (RealTime=0, Offline=1). |
Implements DISPLIB::AbstractView.
Definition at line 175 of file fwdsettingsview.cpp.
◆ m_bAnnotaionsLoaded
| bool DISPLIB::FwdSettingsView::m_bAnnotaionsLoaded |
|
protected |
◆ m_pUi
| Ui::FwdSettingsViewWidget* DISPLIB::FwdSettingsView::m_pUi |
|
protected |
◆ m_sSettingsPath
| QString DISPLIB::FwdSettingsView::m_sSettingsPath |
|
protected |
The documentation for this class was generated from the following files: