MNE-CPP  beta 1.0
Public Member Functions | List of all members
TMSIPlugin::TMSIElectrodeItem Class Reference

The TMSIElectrodeItem class provides a new data structure for impedance values. More...

#include <tmsielectrodeitem.h>

Inheritance diagram for TMSIPlugin::TMSIElectrodeItem:

Public Member Functions

 TMSIElectrodeItem (QString electrodeName, QPointF electrodePosition, QColor electrodeColor, int channelIndex)
 
void setColor (QColor electrodeColor)
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
QString getElectrodeName ()
 
void setImpedanceValue (double impedanceValue)
 
double getImpedanceValue ()
 
void setPosition (QPointF newPosition)
 
QPointF getPosition ()
 
int getChannelIndex ()
 

Detailed Description

The TMSIElectrodeItem class provides a new data structure for impedance values.

TMSIElectrodeItem...

Definition at line 80 of file tmsielectrodeitem.h.

Constructor & Destructor Documentation

TMSIElectrodeItem::TMSIElectrodeItem ( QString  electrodeName,
QPointF  electrodePosition,
QColor  electrodeColor,
int  channelIndex 
)

Constructs a TMSIElectrodeItem.

Definition at line 59 of file tmsielectrodeitem.cpp.

Member Function Documentation

QRectF TMSIElectrodeItem::boundingRect ( ) const

Returns the bounding rect of the electrode item. This rect describes the area which the item uses to plot in.

Definition at line 70 of file tmsielectrodeitem.cpp.

int TMSIElectrodeItem::getChannelIndex ( )

Returns the device channel index of the electrode.

Definition at line 150 of file tmsielectrodeitem.cpp.

QString TMSIElectrodeItem::getElectrodeName ( )

Returns the electrode name.

Definition at line 115 of file tmsielectrodeitem.cpp.

double TMSIElectrodeItem::getImpedanceValue ( )

Returns the impedance value.

Definition at line 129 of file tmsielectrodeitem.cpp.

QPointF TMSIElectrodeItem::getPosition ( )

Updates the electrodes position.

Definition at line 143 of file tmsielectrodeitem.cpp.

void TMSIElectrodeItem::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)

Reimplemented paint function.

Definition at line 77 of file tmsielectrodeitem.cpp.

void TMSIElectrodeItem::setColor ( QColor  electrodeColor)

Sets the color of the electrode item.

Definition at line 108 of file tmsielectrodeitem.cpp.

void TMSIElectrodeItem::setImpedanceValue ( double  impedanceValue)

Sets the impedance value.

Definition at line 122 of file tmsielectrodeitem.cpp.

void TMSIElectrodeItem::setPosition ( QPointF  newPosition)

Updates the electrodes position.

Definition at line 136 of file tmsielectrodeitem.cpp.


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