MNE-CPP  beta 1.0
realtimesourceestimatewidget.h
1 //=============================================================================================================
36 #ifndef REALTIMESOURCEESTIMATEWIDGET_H
37 #define REALTIMESOURCEESTIMATEWIDGET_H
38 
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 #include "xdisp_global.h"
46 #include "newmeasurementwidget.h"
47 
50 
51 //OLD
52 #include <disp3D/inverseview.h>
54 
55 
56 //*************************************************************************************************************
57 //=============================================================================================================
58 // QT INCLUDES
59 //=============================================================================================================
60 
61 #include <QSlider>
62 
63 
64 //*************************************************************************************************************
65 //=============================================================================================================
66 // FORWARD DECLARATIONS
67 //=============================================================================================================
68 
69 class QTime;
70 
71 namespace XMEASLIB
72 {
73  class RealTimeSourceEstimate;
74 }
75 
76 
77 //*************************************************************************************************************
78 //=============================================================================================================
79 // DEFINE NAMESPACE XDISPLIB
80 //=============================================================================================================
81 
82 namespace XDISPLIB
83 {
84 
85 //*************************************************************************************************************
86 //=============================================================================================================
87 // USED NAMESPACES
88 //=============================================================================================================
89 
90 using namespace XMEASLIB;
91 using namespace DISP3DLIB;
92 using namespace MNELIB;
93 
94 
95 //*************************************************************************************************************
96 //=============================================================================================================
97 // ENUMERATIONS
98 //=============================================================================================================
99 
102 //* Tool enumeration.
103 //*/
104 //enum Tool
105 //{
106 // Freeze = 0, /**< Freezing tool. */
107 // Annotation = 1 /**< Annotation tool. */
108 //};
109 
110 
111 //=============================================================================================================
119 {
120  Q_OBJECT
121 
122 public:
123  //=========================================================================================================
131  RealTimeSourceEstimateWidget(QSharedPointer<RealTimeSourceEstimate> &pRTSE, QWidget* parent = 0);
132 
133 // RealTimeSourceEstimateWidget(QSharedPointer<RealTimeSourceEstimate> pRTMSE, QSharedPointer<QTime> pTime, QWidget* parent = 0);
134 
135  //=========================================================================================================
140 
141  //=========================================================================================================
145  virtual void getData();
146 
147  //=========================================================================================================
153  virtual void update(XMEASLIB::NewMeasurement::SPtr pMeasurement);
154 
155  //=========================================================================================================
159  virtual void init();
160 
161 signals:
162  void startInit();
163 
164 private:
165  QSharedPointer<RealTimeSourceEstimate> m_pRTSE;
166  bool m_bInitialized;
168  AnnotationSet m_annotationSet;
169  SurfaceSet m_surfSet;
170 
171  ClustStcModel* m_pClustStcModel;
172  ClustStcView* m_pClustView;
173 
174  QSlider* m_pSliderNormView;
175  QSlider* m_pSliderAverageView;
176 };
177 
178 } // NAMESPACE
179 
180 #endif // REALTIMESOURCEESTIMATEWIDGET_H
xDisp library export/import macros.
Table model which prepares source estimate information.
ClustStcModel class declaration.
ClustStcView class declaration.
MNEForwardSolution class declaration, which provides the forward solution including the source space ...
Annotation set.
Definition: annotationset.h:96
Declaration of the MeasurementWidget Class.
#define XDISPSHARED_EXPORT
Definition: xdisp_global.h:55
QSharedPointer< NewMeasurement > SPtr
InverseView class declaration.
The MeasurementWidget class is the base class of all measurement widgets.
The RealTimeMultiSampleArrayNewWidget class provides a real-time curve display.
A hemisphere set of surfaces.
Definition: surfaceset.h:83