CEBL  2.1
Public Member Functions
EEGMonitor Class Reference

#include <EEGMonitor.hpp>

Public Member Functions

 EEGMonitor (Tab *parent_tab, int nchannels=-1)
 ~EEGMonitor ()
void init ()
void initPlot ()
void reInitPlot (int nchannels=-1)
void setControlsVisible (bool)
 Should the user controls be available?
void setLabels (std::vector< std::string > labels)
 Set labels for the plot.
void setNumDisplaySamples (int)
 Set number of samples to display.
void setZoom (double)
 Set the zoom factor.
void Plot (ublas::matrix< double > data)
 Plot a matrix of data or EEGData where rows are channels and columns are samples.
TabgetParentTab ()
 get a pointer to the parent tab
- Public Member Functions inherited from CEBLGtkWidgetDetachable
 CEBLGtkWidgetDetachable ()
 ~CEBLGtkWidgetDetachable ()
GtkWidget * getContainer ()
 get pointer to gtk widget
 operator GtkWidget * ()
 get pointer to gtk widget
bool isDetached ()
void hide ()
 hide the widget
- Public Member Functions inherited from CEBLGtkWidget
 CEBLGtkWidget ()
virtual ~CEBLGtkWidget ()
virtual void removeWidget (GtkWidget *widget)
 remove a widget from the container
virtual void show ()
 show the widget

Additional Inherited Members

- Protected Attributes inherited from CEBLGtkWidgetDetachable
bool is_detached
GtkWidget * outer_container
GtkWidget * inner_container
GtkWidget * detached_window
GtkWidget * toggle_detached
- Protected Attributes inherited from CEBLGtkWidget
GtkWidget * cebl_gtk_widget_container

Detailed Description

Definition at line 44 of file EEGMonitor.hpp.


Constructor & Destructor Documentation

EEGMonitor::EEGMonitor ( Tab parent_tab,
int  nchannels = -1 
)
EEGMonitor::~EEGMonitor ( )

Definition at line 158 of file EEGMonitor.cpp.


Member Function Documentation

Tab* EEGMonitor::getParentTab ( )
inline

get a pointer to the parent tab

Definition at line 106 of file EEGMonitor.hpp.

void EEGMonitor::init ( )
void EEGMonitor::initPlot ( )
void EEGMonitor::Plot ( ublas::matrix< double >  data)

Plot a matrix of data or EEGData where rows are channels and columns are samples.

Definition at line 221 of file EEGMonitor.cpp.

References EEGPlot::plot().

void EEGMonitor::reInitPlot ( int  nchannels = -1)

Definition at line 128 of file EEGMonitor.cpp.

References initPlot(), and cppR::min().

void EEGMonitor::setControlsVisible ( bool  visible)

Should the user controls be available?

Definition at line 173 of file EEGMonitor.cpp.

void EEGMonitor::setLabels ( std::vector< std::string >  labels)

Set labels for the plot.

Definition at line 189 of file EEGMonitor.cpp.

void EEGMonitor::setNumDisplaySamples ( int  n)

Set number of samples to display.

Definition at line 208 of file EEGMonitor.cpp.

References EEGPlot::setNumDisplaySamples().

void EEGMonitor::setZoom ( double  zoom)

Set the zoom factor.

Definition at line 196 of file EEGMonitor.cpp.

References EEGPlot::setZoom().


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