CEBL
2.1
|
#include <KeyboardPie.hpp>
Public Member Functions | |
KeyboardPie () | |
void | setNumClasses (int) |
set number of classes | |
void | selectClass (int) |
select class and reset | |
void | setParamsList (std::map< std::string, CEBL::Param >) |
set values for parameter list | |
std::map< std::string, CEBL::Param > | getParamsList () |
get list of parameters | |
![]() | |
PieInterface () | |
virtual | ~PieInterface () |
virtual void | selectTrainingClass (int) |
set the class currently being trained | |
virtual void | setClassProportions (std::vector< double > proportions) |
move bars based on proportions for each class | |
virtual void | setClassLabels (std::vector< std::string > labels) |
set labels for each class | |
virtual void | setBGColor (unsigned int red, unsigned int green, unsigned int blue) |
set the background color of the interface | |
virtual void | setTrainMode () |
set mode to train | |
virtual void | setUseMode () |
set mode to use | |
![]() | |
EEGInterface () | |
constructors / destructors | |
virtual | ~EEGInterface () |
![]() | |
CEBLGtkWidgetDetachable () | |
~CEBLGtkWidgetDetachable () | |
GtkWidget * | getContainer () |
get pointer to gtk widget | |
operator GtkWidget * () | |
get pointer to gtk widget | |
bool | isDetached () |
void | hide () |
hide the widget | |
![]() | |
CEBLGtkWidget () | |
virtual | ~CEBLGtkWidget () |
virtual void | removeWidget (GtkWidget *widget) |
remove a widget from the container | |
virtual void | show () |
show the widget |
Additional Inherited Members | |
![]() | |
GtkWidget * | pie_menu |
double | bar_growth |
![]() | |
GtkWidget * | container |
WidgetPanel * | configuration_panel |
bool | configuration_window_open |
int | num_classes |
bool | train_mode |
unsigned int | bg_red |
unsigned int | bg_green |
unsigned int | bg_blue |
![]() | |
bool | is_detached |
GtkWidget * | outer_container |
GtkWidget * | inner_container |
GtkWidget * | detached_window |
GtkWidget * | toggle_detached |
![]() | |
GtkWidget * | cebl_gtk_widget_container |
Definition at line 36 of file KeyboardPie.hpp.
KeyboardPie::KeyboardPie | ( | ) |
Definition at line 12 of file KeyboardPie.cpp.
References EEGInterface::packStart().
|
virtual |
get list of parameters
Reimplemented from PieInterface.
Definition at line 283 of file KeyboardPie.cpp.
|
virtual |
select class and reset
Reimplemented from PieInterface.
Definition at line 165 of file KeyboardPie.cpp.
References PieInterface::pie_menu, pie_select_class(), pie_set_bars_visible(), and SELECT_MODE.
|
virtual |
set number of classes
Reimplemented from PieInterface.
Definition at line 72 of file KeyboardPie.cpp.
References EEGInterface::num_classes, PieInterface::pie_menu, and pie_set_segments().
|
virtual |
set values for parameter list
Reimplemented from PieInterface.
Definition at line 288 of file KeyboardPie.cpp.