MNE-CPP  beta 0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
SensorLayout Class Reference

The SensorLayout class represents a channel layout. More...

#include <sensorlayout.h>

Public Member Functions

 SensorLayout ()
 
const QString & getName () const
 
QStringList fullChNames () const
 
QStringList shortChNames () const
 
qint32 numChannels () const
 
QList< QPointF > loc () const
 
QList< QSizeF > dim () const
 

Static Public Member Functions

static SensorLayout parseSensorLayout (const QDomElement &sensorLayoutElement)
 

Detailed Description

The SensorLayout class represents a channel layout.

DECLARE CLASS SensorLayout

Definition at line 57 of file sensorlayout.h.

Constructor & Destructor Documentation

SensorLayout::SensorLayout ( )

Default constructor

Definition at line 5 of file sensorlayout.cpp.

Member Function Documentation

QList<QSizeF> SensorLayout::dim ( ) const
inline

Returns the dimension for each channel

Returns
the dimension for each channel
QStringList SensorLayout::fullChNames ( ) const
inline

Returns the full channel names of the layout sensors

Returns
the list of full channel names

Definition at line 148 of file sensorlayout.h.

const QString & SensorLayout::getName ( ) const
inline

Returns the name of the sensor layout

Returns
the name of the layout

Definition at line 140 of file sensorlayout.h.

QList< QPointF > SensorLayout::loc ( ) const
inline

Returns the location for each channel

Returns
the location for each channel

Definition at line 172 of file sensorlayout.h.

qint32 SensorLayout::numChannels ( ) const
inline

Returns the number of channels

Returns
the number of channels

Definition at line 164 of file sensorlayout.h.

SensorLayout SensorLayout::parseSensorLayout ( const QDomElement &  sensorLayoutElement)
static

Returns the parsed sensor layout

Parameters
[in]sensorLayoutElementthe xml element which contains the sensor layout
Returns
the parsed sensor layout

Definition at line 10 of file sensorlayout.cpp.

QStringList SensorLayout::shortChNames ( ) const
inline

Returns the list of short channel names of the layout sensors for diplay purposes

Returns
the list of short display channel names

Definition at line 156 of file sensorlayout.h.


The documentation for this class was generated from the following files: