OpenWalnut
1.3.1
|
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.
|
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().
|
private |
mapping from labels to positions
Definition at line 60 of file WEEGPositionsLibrary.h.
Referenced by WEEGPositionsLibrary().