27 #include "../common/WPrototyped.h"
32 boost::shared_ptr< WPrototyped >
WEEG::m_prototype = boost::shared_ptr< WPrototyped >();
35 const WEEGElectrodeLibrary& electrodeLib,
36 const WEEGChannelLabels& channelLabels )
40 assert( data.size() > 0 );
41 for( WEEGSegmentArray::const_iterator it1 = data.begin(); it1 != data.end(); ++it1 )
44 assert( it1->size() > 0 );
45 for( WEEGSegment::const_iterator it2 = it1->begin(); it2 != it1->end(); ++it2 )
48 assert( it2->size() > 0 );
74 return "Contains data acquired using EEG.";
89 m_position( position )
WPosition m_position
Position of the electrode in space.
WEEGSegmentArray m_segments
Contains the EEG data as an arry of segements of data which consist of an array of electrodes which a...
WPosition getPosition() const
Returns the position of the electrode.
static const unsigned int MAX_RECORDING_SEGMENTS
Maximum number of segments of a recording.
Base class for all recorded data and results with events and sensor positions.
static const unsigned int MAX_RECORDING_SAMPLES
Maximum number of samples of a recording.
WEEG()
Constructor creating a quite unusable instance.
virtual const std::string getName() const
Gets the name of this prototype.
This only is a 3d double vector.
static const unsigned int MAX_RECORDING_CHANNELS
Maximum number of channels for a certain modality.
static boost::shared_ptr< WPrototyped > getPrototype()
Returns a prototype instantiated with the true type of the deriving class.
static boost::shared_ptr< WPrototyped > m_prototype
The prototype as singleton.
WEEGChannelLabels m_channelLabels
Label for each channel.
virtual const std::string getDescription() const
Gets the description for this prototype.
virtual bool isTexture() const
Determines whether this dataset can be used as a texture.
WEEGElectrodeObject(WPosition position)
Contructor taking the position of the elctrode.
WEEGElectrodeLibrary m_electrodeLibrary
Information about the electrodes.