MRI ↔ head co-registration configuration / refinement panel. More...
#include <coregsettingsview.h>
Public Types | |
| typedef QSharedPointer< CoregSettingsView > | SPtr |
| typedef QSharedPointer< const CoregSettingsView > | ConstSPtr |
| 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 |
Signals | |
| void | fidFileChanged (const QString &sFilePath) |
| void | fiducialChanged (const int iFiducial) |
| void | fidStoreFileChanged (const QString &sFilePath) |
| void | digFileChanged (const QString &sFilePath) |
| void | fitFiducials () |
| void | fitICP () |
| void | storeTrans (const QString &sFilePath) |
| void | loadTrans (const QString &sFilePath) |
| void | changeSelectedBem (const QString &sText) |
| void | transParamChanged () |
| void | pickFiducials (bool bActivatePicking) |
| Signals inherited from DISPLIB::AbstractView | |
| void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
| CoregSettingsView (const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| ~CoregSettingsView () | |
| void | saveSettings () |
| void | loadSettings () |
| void | updateGuiMode (GuiMode mode) |
| void | updateProcessingMode (ProcessingMode mode) |
| void | clearSelectionBem () |
| void | addSelectionBem (const QString &sBemName) |
| QString | getCurrentSelectedBem () |
| int | getCurrentFiducial () |
| void | setFiducials (const QVector3D vecAxialPosition) |
| int | getMaxIter () |
| float | getConvergence () |
| bool | getAutoScale () |
| float | getOmmitDistance () |
| void | setOmittedPoints (const int iN) |
| void | setRMSE (const float fRMSE) |
| float | getWeightLPA () |
| float | getWeightRPA () |
| float | getWeightNAS () |
| float | getWeightEEG () |
| float | getWeightHSP () |
| float | getWeightHPI () |
| QList< int > | getDigitizerCheckState () |
| void | getTransParams (Eigen::Vector3f &vecRot, Eigen::Vector3f &vecTrans, Eigen::Vector3f &vecScale) |
| void | setTransParams (const Eigen::Vector3f &vecTrans, const Eigen::Vector3f &vecRot, const Eigen::Vector3f &vecScale) |
| 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) |
Additional Inherited Members | |
| Protected Attributes inherited from DISPLIB::AbstractView | |
| bool | m_bResearchModeIsActive |
| bool | m_bOfflineModeIsActive |
| QString | m_sSettingsPath |
MRI ↔ head co-registration configuration / refinement panel.
Exposes the inputs of the ICP-based co-registration step (fiducial files, trans-file load / save paths, ICP iteration cap, outlier threshold) plus manual scale / rotation / translation tweak spinboxes.
Definition at line 76 of file coregsettingsview.h.

| typedef QSharedPointer<const CoregSettingsView> DISPLIB::CoregSettingsView::ConstSPtr |
Const shared pointer type for DISPLIB.
Definition at line 82 of file coregsettingsview.h.
| typedef QSharedPointer<CoregSettingsView> DISPLIB::CoregSettingsView::SPtr |
Shared pointer type for DISPLIB.
Definition at line 81 of file coregsettingsview.h.
|
explicit |
Constructs a CoregSettingsView object.
Definition at line 62 of file coregsettingsview.cpp.
| CoregSettingsView::~CoregSettingsView | ( | ) |
Definition at line 138 of file coregsettingsview.cpp.
| void CoregSettingsView::addSelectionBem | ( | const QString & | sBemName | ) |
Add a new Bem to the drop down menu.
| [in] | sBemName | The name of the bem. |
Definition at line 505 of file coregsettingsview.cpp.
|
signal |
Emit this signal whenever the selected Bem changed.
| [in] | sText | The file name of the currently selected Bem. |
| void CoregSettingsView::clearSelectionBem | ( | ) |
Clear/Emüpty the selection menu for bem models.
Definition at line 496 of file coregsettingsview.cpp.
|
virtual |
Clears the view
Implements DISPLIB::AbstractView.
Definition at line 630 of file coregsettingsview.cpp.
|
signal |
Emit this signal whenever new digitizers were loaded.
| [in] | sFilePath | The file path to the digitizers. |
|
signal |
Emit this signal whenever new fiducials were loaded.
| [in] | sFilePath | The file path to the fiduical file. |
|
signal |
Emit this signal whenever the file to store the fiducials changed.
| [in] | sFilePath | The file path to the stored fiducials. |
|
signal |
Emit this signal whenever the picked fiducial changed.
| [in] | iFiducial | The picked fiducial. |
|
signal |
Emit this signal whenever fiducial alignment is requested.
|
signal |
Emit this signal whenever icp alignment is requested.
| bool CoregSettingsView::getAutoScale | ( | ) |
Get the auto scale state. If activated, unform scaling is applied for any icp iteration.
Definition at line 420 of file coregsettingsview.cpp.
| float CoregSettingsView::getConvergence | ( | ) |
Get the onvergence value.
Definition at line 413 of file coregsettingsview.cpp.
| int CoregSettingsView::getCurrentFiducial | ( | ) |
Get the checked radio box for fiducial picking.
Definition at line 391 of file coregsettingsview.cpp.
| QString CoregSettingsView::getCurrentSelectedBem | ( | ) |
Return the currently selected bem.
Definition at line 512 of file coregsettingsview.cpp.
| QList< int > CoregSettingsView::getDigitizerCheckState | ( | ) |
Get the types of digitizers to use for coregistration.
Definition at line 476 of file coregsettingsview.cpp.
| int CoregSettingsView::getMaxIter | ( | ) |
Get the maximum number of icp iterations.
Definition at line 406 of file coregsettingsview.cpp.
| float CoregSettingsView::getOmmitDistance | ( | ) |
Get the the maximum distance for digitizers from the surface.
Definition at line 469 of file coregsettingsview.cpp.
| void CoregSettingsView::getTransParams | ( | Eigen::Vector3f & | vecRot, |
| Eigen::Vector3f & | vecTrans, | ||
| Eigen::Vector3f & | vecScale ) |
Get the parameters for the new transformation to build from the adjustment values.
| [out] | vecRot | The rotation angle vector in rad (x,y,z). |
| [out] | vecTrans | The traslation vector (x,y,z). |
| [out] | vecScale | The vector with the scaling parameters (due to euler transformation: z,y,x). |
Definition at line 564 of file coregsettingsview.cpp.
| float CoregSettingsView::getWeightEEG | ( | ) |
Definition at line 448 of file coregsettingsview.cpp.
| float CoregSettingsView::getWeightHPI | ( | ) |
Definition at line 455 of file coregsettingsview.cpp.
| float CoregSettingsView::getWeightHSP | ( | ) |
Definition at line 462 of file coregsettingsview.cpp.
| float CoregSettingsView::getWeightLPA | ( | ) |
Get the weights for the digitizer types.
Definition at line 427 of file coregsettingsview.cpp.
| float CoregSettingsView::getWeightNAS | ( | ) |
Definition at line 441 of file coregsettingsview.cpp.
| float CoregSettingsView::getWeightRPA | ( | ) |
Definition at line 434 of file coregsettingsview.cpp.
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 159 of file coregsettingsview.cpp.
|
signal |
Emit this signal whenever the transformation should be loaded.
| [in] | sFilePath | The file path to load the transformation. |
|
signal |
Emit this signal whenever fiducial picking from 3DView should be activated.
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 146 of file coregsettingsview.cpp.
| void CoregSettingsView::setFiducials | ( | const QVector3D | vecAxialPosition | ) |
Set the position of the fiducials.
| [in] | vecAxialPosition | The vector containig x-,y- and x- Position for LPA, Nasion and RPA. |
Definition at line 270 of file coregsettingsview.cpp.
| void CoregSettingsView::setOmittedPoints | ( | const int | iN | ) |
Set the the number of omitted points.
| [in] | iN | The number of omitted digitizer points. |
Definition at line 519 of file coregsettingsview.cpp.
| void CoregSettingsView::setRMSE | ( | const float | fRMSE | ) |
Set the the Root-Mean-Square-Error (Digitizer-FsSurface) after icp.
| [in] | fRMSE | The RMSE in m. |
Definition at line 526 of file coregsettingsview.cpp.
| void CoregSettingsView::setTransParams | ( | const Eigen::Vector3f & | vecTrans, |
| const Eigen::Vector3f & | vecRot, | ||
| const Eigen::Vector3f & | vecScale ) |
Set the transformation received from the ICP algorithm.
| [in] | vecRot | The rotation angle vector in rad (x,y,z). |
| [in] | vecTrans | The traslation vector (x,y,z). |
| [in] | vecScale | The vector with the scaling parameters (due to euler transformation: z,y,x). |
Definition at line 533 of file coregsettingsview.cpp.
|
signal |
Emit this signal whenever the transformation should be stored.
| [in] | sFilePath | The file path to store the transformation. |
|
signal |
Emit this signal whenever the scaling, translation or rotation parmeters have changed.
|
virtual |
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 172 of file coregsettingsview.cpp.
|
virtual |
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 184 of file coregsettingsview.cpp.