28 #include "../common/WPrototyped.h"
32 std::shared_ptr< WPrototyped >
WEEG::m_prototype = std::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 getPosition() const
Returns the position of the electrode.
WPosition m_position
Position of the electrode in space.
WEEGElectrodeObject(WPosition position)
Contructor taking the position of the elctrode.
static std::shared_ptr< WPrototyped > m_prototype
The prototype as singleton.
WEEGChannelLabels m_channelLabels
Label for each channel.
static std::shared_ptr< WPrototyped > getPrototype()
Returns a prototype instantiated with the true type of the deriving class.
WEEGElectrodeLibrary m_electrodeLibrary
Information about the electrodes.
virtual bool isTexture() const
Determines whether this dataset can be used as a texture.
WEEG()
Constructor creating a quite unusable instance.
WEEGSegmentArray m_segments
Contains the EEG data as an arry of segements of data which consist of an array of electrodes which a...
virtual const std::string getName() const
Gets the name of this prototype.
virtual const std::string getDescription() const
Gets the description for this prototype.
This only is a 3d double vector.
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.
static const unsigned int MAX_RECORDING_CHANNELS
Maximum number of channels for a certain modality.
static const unsigned int MAX_RECORDING_SEGMENTS
Maximum number of segments of a recording.