33 #include <osg/ref_ptr>
35 #include "core/common/exceptions/WOutOfBounds.h"
36 #include "core/dataHandler/WDataSetDipoles.h"
37 #include "core/dataHandler/WEEG2.h"
38 #include "core/graphicsEngine/WGEGroupNode.h"
61 std::shared_ptr< WEEG2 > eeg,
62 std::size_t segmentID,
63 osg::ref_ptr< WGEGroupNode > parentNode,
66 std::shared_ptr< WDataSetDipoles > dipoles );
90 const std::vector< double >&
getValues()
const;
A special time position in an EEG recording with corresponding data.
const std::vector< double > & getValues() const
Get the value of each channel at the time position.
WEEGEvent()
Constructor for an empty event.
osg::ref_ptr< WGEGroupNode > m_parentNode
parent node, where m_node is inserted and removed from
double getTime() const
Get the time position.
double m_time
time position in seconds
~WEEGEvent()
Destructor, removing m_node from m_parentNode.
std::vector< double > m_values
the value of each channel at the given time position
osg::ref_ptr< osg::Node > m_node
OSG node representing the event.