36#ifndef HPISETTINGSVIEW_H
37#define HPISETTINGSVIEW_H
43#include "../disp_global.h"
51#include <QJsonDocument>
64 class HpiSettingsViewWidget;
68 class FiffDigPointSet;
98 Qt::WindowFlags f = Qt::Widget);
109 void setErrorLabels(
const QVector<double>& vError,
110 const double dMeanErrorDist);
120 void setGoFLabels(
const Eigen::VectorXd & vGoF,
121 const double dMeanGof);
130 void setMovementResults(
double dMovement,
139 bool getSspStatusChanged();
147 bool getCompStatusChanged();
155 double getAllowedMeanErrorDistChanged();
163 double getAllowedMovementChanged();
171 double getAllowedRotationChanged();
179 bool continuousHPIChecked();
187 int getFittingWindowSize();
195 void newDigitizerList(QList<FIFFLIB::FiffDigPoint> pointList);
203 void loadCoilPresets(
const QString& sFilePath);
230 void updateGuiMode(GuiMode mode);
238 void updateProcessingMode(ProcessingMode mode);
244 void onLoadDigitizers();
253 void onFrequencyCellChanged(
int row,
272 QList<FIFFLIB::FiffDigPoint> readDigitizersFromFile(
const QString& fileName);
280 void setupCoilPresets(
int iNumCoils);
288 void populatePresetGUI(
const QJsonArray& presetData);
294 void populateCoilGUI();
302 void selectCoilPreset(
int iCoilPresetIndex);
310 void addCoilFreqToGUI(
int iCoilFreq);
316 void addCoilErrorToGUI();
357 const QString& sFilePath);
#define DISPSHARED_EXPORT
FiffDigPoint class declaration.
The AbstractView class provides the base calss for all Disp viewers.
The HpiSettingsView class provides a QWidget for the HPI controls.
QVector< int > m_vCoilFreqs
void allowedRotationChanged(double dAllowedRotation)
void sspStatusChanged(bool bChecked)
void fittingWindowSizeChanged(int iFitsPerSecond)
QJsonDocument m_CoilPresets
void coilFrequenciesChanged(const QVector< int > &vCoilFreqs)
void compStatusChanged(bool bChecked)
void allowedMovementChanged(double dAllowedMovement)
void allowedMeanErrorDistChanged(double dAllowedMeanErrorDist)
Ui::HpiSettingsViewWidget * m_pUi
void digitizersChanged(const QList< FIFFLIB::FiffDigPoint > &lDigitzers, const QString &sFilePath)
void contHpiStatusChanged(bool bChecked)
Holds a set of digitizer points.
AbstractView class declaration.