MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
layoutloader.h
Go to the documentation of this file.
1//=============================================================================================================
37#ifndef LAYOUTLOADER_H
38#define LAYOUTLOADER_H
39
40//=============================================================================================================
41// INCLUDES
42//=============================================================================================================
43
44#include "utils_global.h"
45
46#include <string>
47#include <vector>
48
49//=============================================================================================================
50// QT INCLUDES
51//=============================================================================================================
52
53#include <QSharedPointer>
54#include <QVector>
55#include <QStringList>
56#include <QString>
57#include <QPoint>
58
59//=============================================================================================================
60// EIGEN INCLUDES
61//=============================================================================================================
62
63#include <Eigen/Core>
64
65//=============================================================================================================
66// DEFINE NAMESPACE MNELIB
67//=============================================================================================================
68
69namespace UTILSLIB
70{
71
72//=============================================================================================================
73// DEFINES
74//=============================================================================================================
75
76//=============================================================================================================
83{
84public:
85 typedef QSharedPointer<LayoutLoader> SPtr;
86 typedef QSharedPointer<const LayoutLoader> ConstSPtr;
88 //=========================================================================================================
96 static bool readAsaElcFile(const QString &path,
97 QStringList &channelNames,
98 QList<QVector<float> > &location3D,
99 QList<QVector<float> > &location2D,
100 QString &unit);
101
102 //=========================================================================================================
110 static bool readAsaElcFile(const std::string &path,
111 std::vector<std::string> &channelNames,
112 std::vector<std::vector<float> > &location3D,
113 std::vector<std::vector<float> > &location2D,
114 std::string &unit);
115
116 //=========================================================================================================
123 static bool readMNELoutFile(const QString &path,
124 QMap<QString, QPointF> &channelData);
125
126 //=========================================================================================================
133 static bool readMNELoutFile(const std::string &path,
134 QMap<std::string, QPointF> &channelData);
135
136private:
137};
138} // NAMESPACE
139
140#endif // LAYOUTLOADER_H
utils library export/import macros.
#define UTILSSHARED_EXPORT
Processes AsA .elc files which contain the electrode positions of a EEG hat.
QSharedPointer< LayoutLoader > SPtr
QSharedPointer< const LayoutLoader > ConstSPtr