37 #ifndef RTFIFFRAWVIEW_H 38 #define RTFIFFRAWVIEW_H 44 #include "../disp_global.h" 45 #include "abstractview.h" 88 class RtFiffRawViewModel;
89 class RtFiffRawViewDelegate;
102 typedef QSharedPointer<RtFiffRawView>
SPtr;
113 Qt::WindowFlags f = Qt::Widget);
126 void updateOpenGLViewport();
135 void setSettingsPath(
const QString& sSettingsPath);
143 void init(QSharedPointer<FIFFLIB::FiffInfo> &info);
151 void addData(
const QList<Eigen::MatrixXd>& data);
159 Eigen::MatrixXd getLastBlock();
171 bool eventFilter(QObject *
object, QEvent *event);
179 void setBackgroundColor(
const QColor& backgroundColor);
187 QColor getBackgroundColor();
195 QMap<qint32, float> getScalingMap();
203 void setScalingMap(
const QMap<qint32, float>& scaleMap);
211 void setSignalColor(
const QColor& signalColor);
219 QColor getSignalColor();
225 void hideBadChannels();
233 bool getBadChannelHideStatus();
241 void showSelectedChannelsOnly(
const QStringList& selectedChannels);
249 void setZoom(
double zoomFac);
265 void setWindowSize(
int T);
281 void takeScreenshot(
const QString& fileName);
289 void updateProjection(
const QList<FIFFLIB::FiffProj>& projs);
297 void updateCompensator(
int to);
305 void updateSpharaActivation(
bool state);
315 void updateSpharaOptions(
const QString& sSytemType,
317 int nBaseFctsSecond);
333 void setFilterActive(
bool state);
341 void setFilterChannelType(
const QString& channelType);
352 void triggerInfoChanged(
const QMap<double, QColor>& colorMap,
354 const QString& triggerCh,
363 void setDistanceTimeSpacer(
int value);
371 int getDistanceTimeSpacer();
377 void resetTriggerCounter();
401 float getSamplingFreq()
const;
410 void updateGuiMode(GuiMode mode);
418 void updateProcessingMode(ProcessingMode mode);
426 void channelContextMenu(QPoint pos);
432 void applySelection();
438 void hideSelection();
444 void resetSelection();
450 void visibleRowsChanged();
464 void onAddEvent(
bool bChecked);
495 void markerMoved(QPoint position,
502 void triggerDetected(
int numberDetectedTriggers,
503 const QMap<
int,QList<QPair<int,double> > >& mapDetectedTriggers);
509 void channelMarkingChanged();
512 void addSampleAsEvent(
int iSample);
516 #endif // RTFIFFRAWVIEW_H QPointer< QTableView > m_pTableView
QList< qint32 > m_qListCurrentSelection
QList< qint32 > m_qListBadChannels
QSharedPointer< FIFFLIB::FiffInfo > m_pFiffInfo
int m_iDistanceTimeSpacer
QSharedPointer< RtFiffRawView > SPtr
QStringList m_slSelectedChannels
QPointer< DISPLIB::RtFiffRawViewModel > m_pModel
The FilterKernel class provides methods to create/design a FIR filter kernel.
QSharedPointer< const RtFiffRawView > ConstSPtr
The RtFiffRawView class provides a real-time channel view display.
QMap< qint32, float > m_qMapChScaling
The AbstractView class provides the base calss for all Disp viewers.
FiffProj class declaration.
#define DISPSHARED_EXPORT
QPointer< DISPLIB::RtFiffRawViewDelegate > m_pDelegate