37 #ifndef RTFIFFRAWVIEW_H
38 #define RTFIFFRAWVIEW_H
44 #include "../disp_global.h"
72 namespace RTPROCESSINGLIB {
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);
494 void markerMoved(QPoint position,
501 void triggerDetected(
int numberDetectedTriggers,
502 const QMap<
int,QList<QPair<int,double> > >& mapDetectedTriggers);
508 void channelMarkingChanged();
511 void addSampleAsEvent(
int iSample);
515 #endif // RTFIFFRAWVIEW_H