OpenWalnut
1.4.0
|
Class which contains the positions of EEG electrodes by label. More...
#include <WEEGPositionsLibrary.h>
Public Member Functions | |
WEEGPositionsLibrary (const std::map< std::string, WPosition > &positions) | |
Constructor. | |
WPosition | getPosition (std::string label) const throw ( WOutOfBounds ) |
Get the position of an electrode with the given label. | |
Private Attributes | |
std::map< std::string, WPosition > | m_positions |
mapping from labels to positions |
Class which contains the positions of EEG electrodes by label.
Definition at line 40 of file WEEGPositionsLibrary.h.
WEEGPositionsLibrary::WEEGPositionsLibrary | ( | const std::map< std::string, WPosition > & | positions | ) | [explicit] |
Constructor.
positions | mapping from labels to positions |
Definition at line 34 of file WEEGPositionsLibrary.cpp.
References m_positions, and string_utils::toUpper().
WPosition WEEGPositionsLibrary::getPosition | ( | std::string | label | ) | const throw ( WOutOfBounds ) |
Get the position of an electrode with the given label.
label | label of the electrode |
Definition at line 43 of file WEEGPositionsLibrary.cpp.
References string_utils::toUpper().
std::map< std::string, WPosition > WEEGPositionsLibrary::m_positions [private] |
mapping from labels to positions
Definition at line 60 of file WEEGPositionsLibrary.h.
Referenced by WEEGPositionsLibrary().