MNE-CPP  beta 1.0
layoutloader.h
Go to the documentation of this file.
1 //=============================================================================================================
37 #ifndef LAYOUTLOADER_H
38 #define LAYOUTLOADER_H
39 
40 //*************************************************************************************************************
41 //=============================================================================================================
42 // INCLUDES
43 //=============================================================================================================
44 
45 #include "utils_global.h"
46 
47 
48 //*************************************************************************************************************
49 //=============================================================================================================
50 // Qt INCLUDES
51 //=============================================================================================================
52 
53 #include <QSharedPointer>
54 #include <QVector>
55 #include <QFile>
56 #include <QTextStream>
57 #include <QStringList>
58 #include <QDebug>
59 #include <QIODevice>
60 #include <QString>
61 #include <QPoint>
62 
63 
64 //*************************************************************************************************************
65 //=============================================================================================================
66 // Eigen INCLUDES
67 //=============================================================================================================
68 
69 #include <Eigen/Core>
70 
71 
72 //*************************************************************************************************************
73 //=============================================================================================================
74 // DEFINE NAMESPACE MNELIB
75 //=============================================================================================================
76 
77 namespace UTILSLIB
78 {
79 
80 
81 //*************************************************************************************************************
82 //=============================================================================================================
83 // USED NAMESPACES
84 //=============================================================================================================
85 
86 using namespace Eigen;
87 
88 
89 //*************************************************************************************************************
90 //=============================================================================================================
91 // DEFINES
92 //=============================================================================================================
93 
94 
95 //=============================================================================================================
102 {
103 public:
104  typedef QSharedPointer<LayoutLoader> SPtr;
105  typedef QSharedPointer<const LayoutLoader> ConstSPtr;
107  //=========================================================================================================
111  LayoutLoader();
112 
113  //=========================================================================================================
121  static bool readAsaElcFile(QString path, QStringList &channelNames, QVector<QVector<double> > &location3D, QVector<QVector<double> > &location2D, QString &unit);
122 
123  //=========================================================================================================
130  static bool readMNELoutFile(QString path, QMap<QString, QPointF> &channelData);
131 
132 private:
133 
134 };
135 
136 } // NAMESPACE
137 
138 #endif // LAYOUTLOADER_H
#define UTILSSHARED_EXPORT
Definition: utils_global.h:57
QSharedPointer< const LayoutLoader > ConstSPtr
Definition: layoutloader.h:105
utils library export/import macros.
Processes AsA .elc files which contain the electrode positions of a EEG hat.
Definition: layoutloader.h:101
QSharedPointer< LayoutLoader > SPtr
Definition: layoutloader.h:104