Reads ANT .elc electrode files into Qt/STL containers. More...
#include <layoutloader.h>
Public Types | |
| typedef QSharedPointer< LayoutLoader > | SPtr |
| typedef QSharedPointer< const LayoutLoader > | ConstSPtr |
Static Public Member Functions | |
| static bool | readAsaElcFile (const QString &path, QStringList &channelNames, QList< QVector< float > > &location3D, QList< QVector< float > > &location2D, QString &unit) |
| static bool | readAsaElcFile (const std::string &path, std::vector< std::string > &channelNames, std::vector< std::vector< float > > &location3D, std::vector< std::vector< float > > &location2D, std::string &unit) |
Reads ANT .elc electrode files into Qt/STL containers.
Reads ANT .elc files, which contain the electrode positions of an EEG cap.
Definition at line 67 of file layoutloader.h.
| typedef QSharedPointer<const LayoutLoader> UTILSLIB::LayoutLoader::ConstSPtr |
Const shared pointer type for LayoutLoader.
Definition at line 71 of file layoutloader.h.
| typedef QSharedPointer<LayoutLoader> UTILSLIB::LayoutLoader::SPtr |
Shared pointer type for LayoutLoader.
Definition at line 70 of file layoutloader.h.
|
static |
Reads the specified ANT elc-layout file.
| [in] | path | holds the file path of the elc file which is to be read. |
| [in,out] | channelNames | Receives the channel names. |
| [in] | location3D | holds the vector to which the read 3D positions are stored. |
| [in] | location2D | holds the vector to which the read 2D positions are stored. |
| [in,out] | unit | Receives the unit of the positions. |
Definition at line 51 of file layoutloader.cpp.
|
static |
Reads the specified ANT elc-layout file.
| [in] | path | holds the file path of the elc file which is to be read. |
| [in,out] | channelNames | Receives the channel names. |
| [in] | location3D | holds the vector to which the read 3D positions are stored. |
| [in] | location2D | holds the vector to which the read 2D positions are stored. |
| [in,out] | unit | Receives the unit of the positions. |
Definition at line 138 of file layoutloader.cpp.