MNE-CPP  beta 1.0
projectorwidget.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef PROJECTORWIDGET_H
37 #define PROJECTORWIDGET_H
38 
39 //*************************************************************************************************************
40 //=============================================================================================================
41 // INCLUDES
42 //=============================================================================================================
43 
44 #include <fiff/fiff_info.h>
45 
46 
47 //*************************************************************************************************************
48 //=============================================================================================================
49 // Eigen INCLUDES
50 //=============================================================================================================
51 
52 #include <Eigen/Core>
53 
54 
55 //*************************************************************************************************************
56 //=============================================================================================================
57 // QT INCLUDES
58 //=============================================================================================================
59 
60 #include <QCheckBox>
61 #include <QWidget>
62 #include <QGraphicsView>
63 #include <QGraphicsScene>
64 
65 
66 //*************************************************************************************************************
67 //=============================================================================================================
68 // DEFINE NAMESPACE XDISPLIB
69 //=============================================================================================================
70 
71 namespace XDISPLIB
72 {
73 
74 //*************************************************************************************************************
75 //=============================================================================================================
76 // USED NAMESPACES
77 //=============================================================================================================
78 
79 using namespace Eigen;
80 using namespace FIFFLIB;
81 
82 
83 //=============================================================================================================
89 class ProjectorWidget : public QWidget
90 {
91  Q_OBJECT
92 public:
93 
94  //=========================================================================================================
101  ProjectorWidget(QWidget *parent = 0, Qt::WindowFlags f = 0);
102 
103  //=========================================================================================================
107  void createUI();
108 
109  //=========================================================================================================
113  void setFiffInfo(FiffInfo::SPtr& p_pFiffInfo);
114 
115 signals:
116  void projSelectionChanged();
117 
118 private:
119  void checkStatusChanged(int state);
120 
121  QList<QCheckBox*> m_qListCheckBox;
122  FiffInfo::SPtr m_pFiffInfo;
123 };
124 
125 } // NAMESPACE
126 
127 #ifndef metatype_matrixxd
128 #define metatype_matrixxd
129 Q_DECLARE_METATYPE(Eigen::MatrixXd);
130 #endif
131 
132 #endif // PROJECTORWIDGET_H
Q_DECLARE_METATYPE(Eigen::MatrixXd)
QSharedPointer< FiffInfo > SPtr
Definition: fiff_info.h:99
FiffInfo class declaration.
Definition: fiff.h:98
The ProjectorWidget class provides the sensor selection widget.