MNE-CPP  beta 1.0
bcifeaturewindow.h
Go to the documentation of this file.
1 //=============================================================================================================
37 #ifndef BCIFEATUREWINDOW_H
38 #define BCIFEATUREWINDOW_H
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 
46 //*************************************************************************************************************
47 //=============================================================================================================
48 // QT INCLUDES
49 //=============================================================================================================
50 
51 #include <QWidget>
52 #include "../ui_bcifeaturewindow.h"
53 
54 //*************************************************************************************************************
55 //=============================================================================================================
56 // DEFINE NAMESPACE TMSIPlugin
57 //=============================================================================================================
58 
59 namespace BCIPlugin
60 {
61 
62 //*************************************************************************************************************
63 //=============================================================================================================
64 // TypeDefs
65 //=============================================================================================================
66 
67 typedef QList< QList<double> > MyQList;
68 
69 //*************************************************************************************************************
70 //=============================================================================================================
71 // FORWARD DECLARATIONS
72 //=============================================================================================================
73 
74 class BCI;
75 
76 
77 //=============================================================================================================
83 class BCIFeatureWindow : public QWidget
84 {
85  Q_OBJECT
86 
87 public:
88  //=========================================================================================================
95  BCIFeatureWindow(BCI* pBCI, QWidget *parent = 0);
96 
97  //=========================================================================================================
103 
104  //=========================================================================================================
109  void initGui();
110 
111 protected:
112  double boundaryValue(double x);
113 
114  void addBoundaryLineToScene();
115 
116  void paintFeaturesToScene(MyQList features, bool bTriggerActivated);
117 
119  QGraphicsScene m_scene;
121  double m_dFeatureMax;
122  int m_iScale;
124 };
125 
126 } // NAMESPACE
127 
128 #endif // BCIFEATUREWINDOW_H
The BCIFeatureWindow class provides a visualization tool for calculated features. ...
BCIFeatureWindow(BCI *pBCI, QWidget *parent=0)
Definition: bci.h:75
Ui::BCIFeatureWindowClass ui
The BCI class provides an EEG BCI.
Definition: bci.h:103