AwCore
AnyWave core library
Public Member Functions | List of all members
AwSensorLayout Class Reference

AwSensorLayout describes a set of 3D coordinates for a particular helmet or MEG machine. More...

Public Member Functions

AwSensorList & sensors ()
 
AwSensorsensorFromName (const QString &name)
 
bool addSensor (AwSensor *sensor)
 
bool addSensor (const QString &label, float x, float y, float z)
 
int count ()
 
void clear ()
 
bool is3D ()
 
bool isMEG ()
 
bool isEEG ()
 

Detailed Description

AwSensorLayout describes a set of 3D coordinates for a particular helmet or MEG machine.

AwSensorLayout provides a complete list of AwSensor, in 2D and/or 3D coordinates. A AwSensorLayout can be implemented in a Reader Plugin to provide a complete layout to AnyWave.

Remarks
A sensor layout is used to build 3D/2D maps of activities using VTK library. All the sensors in the layout are considered as a cloud of points. A Delaunay 3D transformation will be applied to build a 3D mesh or a 2D surface.
See also
AwSensorList AwSensor

Member Function Documentation

bool AwSensorLayout::addSensor ( AwSensor sensor)

Adds a sensor to the layout. Return true if the sensor has been added.

bool AwSensorLayout::addSensor ( const QString &  label,
float  x,
float  y,
float  z 
)

Adds a sensor to the layout. Return true if the sensor has been added.

void AwSensorLayout::clear ( )

Clears the layout by destroying the sensors composing the layout.

int AwSensorLayout::count ( )

Returns the number of sensors in the layout.

bool AwSensorLayout::is3D ( )
inline

Returns true if the layout is a 3D layout.

bool AwSensorLayout::isEEG ( )
inline

Returns true if the layout describes EEG electrodes.

bool AwSensorLayout::isMEG ( )
inline

Returns true if the layout describes a MEG sensor.

AwSensor * AwSensorLayout::sensorFromName ( const QString &  name)

Gets a sensor by its name

AwSensorList& AwSensorLayout::sensors ( )
inline

Returns the complete list of sensors composing the layout.


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