CEBL
2.1
Main Page
Namespaces
Data Structures
Files
File List
Globals
gui
interfaces
PieInterface.hpp
Go to the documentation of this file.
1
/*
2
* CEBL : CSU EEG Brain-Computer Interface Lab
3
*
4
* Author: Jeshua Bratman - jeshuabratman@gmail.com
5
*
6
* This file is part of CEBL.
7
*
8
* CEBL is free software; you can redistribute it and/or modify it.
9
* We only ask that if you use our code that you cite the source in
10
* your project or publication.
11
*
12
* EEG Group (www.cs.colostate.edu/eeg)
13
* Department of Computer Science
14
* Colorado State University
15
*
16
*/
17
18
/* PieInterface.hpp
19
* \author Jeshua Bratman
20
*
21
* Simple pie menu interface for CEBL. Can be inherited from.
22
*/
23
24
#ifndef SIMPLEPIE_H
25
#define SIMPLEPIE_H
26
#include "
PieMenu.hpp
"
27
#include "
EEGInterface.hpp
"
28
29
class
PieInterface
:
public
EEGInterface
30
{
31
protected
:
32
GtkWidget *
pie_menu
;
33
double
bar_growth
;
34
35
public
:
36
PieInterface
();
37
virtual
~PieInterface
();
38
virtual
void
selectTrainingClass
(
int
);
39
virtual
void
setNumClasses
(
int
);
40
virtual
void
selectClass
(
int
);
41
virtual
void
setClassProportions
(std::vector<double> proportions);
42
virtual
void
setClassLabels
(std::vector<std::string> labels);
43
virtual
void
setBGColor
(
unsigned
int
red,
unsigned
int
green,
unsigned
int
blue);
44
virtual
void
setParamsList
( std::map<std::string, CEBL::Param> params);
45
virtual
std::map<std::string, CEBL::Param>
getParamsList
();
46
virtual
void
setTrainMode
();
47
virtual
void
setUseMode
();
48
};
49
50
#endif
Generated by
1.8.1.1