v2.0.0
Loading...
Searching...
No Matches
layoutloader.h
Go to the documentation of this file.
1//=============================================================================================================
19
20#ifndef LAYOUTLOADER_H
21#define LAYOUTLOADER_H
22
23//=============================================================================================================
24// INCLUDES
25//=============================================================================================================
26
27#include "utils_global.h"
28
29#include <string>
30#include <vector>
31
32//=============================================================================================================
33// QT INCLUDES
34//=============================================================================================================
35
36#include <QSharedPointer>
37#include <QVector>
38#include <QStringList>
39#include <QString>
40#include <QPoint>
41
42//=============================================================================================================
43// EIGEN INCLUDES
44//=============================================================================================================
45
46#include <Eigen/Core>
47
48//=============================================================================================================
49// DEFINE NAMESPACE MNELIB
50//=============================================================================================================
51
52namespace UTILSLIB
53{
54
55//=============================================================================================================
56// DEFINES
57//=============================================================================================================
58
59//=============================================================================================================
68{
69public:
70 typedef QSharedPointer<LayoutLoader> SPtr;
71 typedef QSharedPointer<const LayoutLoader> ConstSPtr;
72
73 //=========================================================================================================
83 static bool readAsaElcFile(const QString& path,
84 QStringList& channelNames,
85 QList<QVector<float>>& location3D,
86 QList<QVector<float>>& location2D,
87 QString& unit);
88
89 //=========================================================================================================
99 static bool readAsaElcFile(const std::string& path,
100 std::vector<std::string>& channelNames,
101 std::vector<std::vector<float>>& location3D,
102 std::vector<std::vector<float>>& location2D,
103 std::string& unit);
104
105private:
106};
107} // NAMESPACE
108
109#endif // LAYOUTLOADER_H
Public umbrella header for UTILSLIB exposing the UTILSSHARED_EXPORT macro and build-info accessors.
#define UTILSSHARED_EXPORT
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
Reads ANT .elc electrode files into Qt/STL containers.
QSharedPointer< LayoutLoader > SPtr
static bool readAsaElcFile(const QString &path, QStringList &channelNames, QList< QVector< float > > &location3D, QList< QVector< float > > &location2D, QString &unit)
QSharedPointer< const LayoutLoader > ConstSPtr