MNE-CPP  beta 1.0
Public Member Functions | Static Public Member Functions | List of all members
XDISPLIB::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 66 of file sensorlayout.h.

Constructor & Destructor Documentation

SensorLayout::SensorLayout ( )

Default constructor

Definition at line 65 of file sensorlayout.cpp.

Member Function Documentation

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

Returns the dimension for each channel

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

Returns the full channel names of the layout sensors

Returns
the list of full channel names

Definition at line 157 of file sensorlayout.h.

const QString & XDISPLIB::SensorLayout::getName ( ) const
inline

Returns the name of the sensor layout

Returns
the name of the layout

Definition at line 149 of file sensorlayout.h.

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

Returns the location for each channel

Returns
the location for each channel

Definition at line 181 of file sensorlayout.h.

qint32 XDISPLIB::SensorLayout::numChannels ( ) const
inline

Returns the number of channels

Returns
the number of channels

Definition at line 173 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 72 of file sensorlayout.cpp.

QStringList XDISPLIB::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 165 of file sensorlayout.h.


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