![]() |
OpenWalnut
1.5.0dev
|
Class which contains the positions of EEG electrodes by label. More...
#include <WEEGPositionsLibrary.h>
Collaboration diagram for WEEGPositionsLibrary:Public Member Functions | |
| WEEGPositionsLibrary (const std::map< std::string, WPosition > &positions) | |
| Constructor. More... | |
| WPosition | getPosition (std::string label) const |
| Get the position of an electrode with the given label. More... | |
Private Attributes | |
| std::map< std::string, WPosition > | m_positions |
| mapping from labels to positions More... | |
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().
Here is the call graph for this function:| WPosition WEEGPositionsLibrary::getPosition | ( | std::string | label | ) | const |
Get the position of an electrode with the given label.
| label | label of the electrode |
Definition at line 43 of file WEEGPositionsLibrary.cpp.
References m_positions, and string_utils::toUpper().
Here is the call graph for this function:
|
private |
mapping from labels to positions
Definition at line 60 of file WEEGPositionsLibrary.h.
Referenced by getPosition(), and WEEGPositionsLibrary().