CEBL  2.1
CursorPie.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 /* CursorPie.hpp
19  * \author Jeshua Bratman
20  *
21  * Simple cursor interface for CEBL.
22  */
23 
24 #ifndef CURSORPIE_H
25 #define CURSORPIE_H
26 #include "PieInterface.hpp"
27 
28 
29 class CursorPie : public PieInterface
30 {
31  private:
32  std::vector<int> xmove;
33  std::vector<int> ymove;
34 
35  void selectPie(int c);
36 
37  public:
38  CursorPie();
39  void selectClass(int);
40  void setParamsList(std::map<std::string,CEBL::Param>);
41  std::map<std::string,CEBL::Param> getParamsList();
42 };
43 
44 #endif