CEBL
2.1
|
#include <EEGPlot.hpp>
Public Member Functions | |
EEGPlot (int num_channels) | |
~EEGPlot () | |
operator GtkWidget * () | |
void | init () |
void | plot (ublas::matrix< double >) |
void | redraw () |
void | queueRedraw () |
void | setLabels (std::vector< std::string > labels) |
Sets the labels for each channel. | |
void | setWindowWidth (double width) |
Inform of the width of container plot is in. | |
void | setWindowHeight (double height) |
Inform of the height of container plot is in. | |
void | setBGColor (int red, int green, int blue) |
Set the background color for the plot as RGB. | |
void | setNumDisplaySamples (int n) |
Sets the number of samples to display at a time. | |
void | setZoom (double zoom) |
Sets zoom factor. | |
int | getDisplaySamples () |
How many samples are being displayed at once? |
Definition at line 48 of file EEGPlot.hpp.
EEGPlot::EEGPlot | ( | int | num_channels | ) |
Definition at line 31 of file EEGPlot.cpp.
EEGPlot::~EEGPlot | ( | ) |
Definition at line 61 of file EEGPlot.cpp.
|
inline |
How many samples are being displayed at once?
Definition at line 130 of file EEGPlot.hpp.
void EEGPlot::init | ( | ) |
Definition at line 103 of file EEGPlot.cpp.
References NUM_PLOT_COLORS, and PLOT_COLORS.
Referenced by EEGMonitor::initPlot().
EEGPlot::operator GtkWidget * | ( | ) |
Definition at line 89 of file EEGPlot.cpp.
void EEGPlot::plot | ( | ublas::matrix< double > | data | ) |
Definition at line 261 of file EEGPlot.cpp.
Referenced by EEGMonitor::Plot().
void EEGPlot::queueRedraw | ( | ) |
Definition at line 383 of file EEGPlot.cpp.
void EEGPlot::redraw | ( | ) |
Definition at line 357 of file EEGPlot.cpp.
|
inline |
Set the background color for the plot as RGB.
Definition at line 121 of file EEGPlot.hpp.
Referenced by EEGMonitor::initPlot().
void EEGPlot::setLabels | ( | std::vector< std::string > | labels | ) |
Sets the labels for each channel.
Definition at line 96 of file EEGPlot.cpp.
Referenced by EEGMonitor::initPlot().
void EEGPlot::setNumDisplaySamples | ( | int | n | ) |
Sets the number of samples to display at a time.
Definition at line 225 of file EEGPlot.cpp.
Referenced by EEGMonitor::initPlot(), and EEGMonitor::setNumDisplaySamples().
void EEGPlot::setWindowHeight | ( | double | height | ) |
Inform of the height of container plot is in.
Definition at line 407 of file EEGPlot.cpp.
Referenced by EEGMonitor::initPlot().
void EEGPlot::setWindowWidth | ( | double | width | ) |
Inform of the width of container plot is in.
Definition at line 398 of file EEGPlot.cpp.
Referenced by EEGMonitor::initPlot().
void EEGPlot::setZoom | ( | double | zoom | ) |