Public Member Functions | |
bool | change_pattern (ias_projected_light::cp::Request &req, ias_projected_light::cp::Response &res) |
CreatePattern (ros::NodeHandle &n, int psize, char *p, bool s) | |
Private Member Functions | |
void | drawPattern () |
string | pattern_name (int index) |
void | setBlock (int posx, int posy, int col) |
Private Attributes | |
int | aheight |
int | awidth |
int | block_size |
vector< string > | filepaths |
ros::NodeHandle | n |
IplImage * | pattern |
int | pattern_count |
int | pattern_index |
int | pheight |
int | pwidth |
ros::ServiceServer | serv |
bool | service |
Static Private Attributes | |
static const int | num_patterns = 5 |
Definition at line 44 of file create_pattern.cpp.
CreatePattern::CreatePattern | ( | ros::NodeHandle & | n, |
int | psize, | ||
char * | p, | ||
bool | s | ||
) | [inline] |
Definition at line 267 of file create_pattern.cpp.
bool CreatePattern::change_pattern | ( | ias_projected_light::cp::Request & | req, |
ias_projected_light::cp::Response & | res | ||
) | [inline] |
Definition at line 248 of file create_pattern.cpp.
void CreatePattern::drawPattern | ( | ) | [inline, private] |
Definition at line 81 of file create_pattern.cpp.
string CreatePattern::pattern_name | ( | int | index | ) | [inline, private] |
Definition at line 221 of file create_pattern.cpp.
void CreatePattern::setBlock | ( | int | posx, |
int | posy, | ||
int | col | ||
) | [inline, private] |
Definition at line 64 of file create_pattern.cpp.
int CreatePattern::aheight [private] |
Definition at line 52 of file create_pattern.cpp.
int CreatePattern::awidth [private] |
Definition at line 51 of file create_pattern.cpp.
int CreatePattern::block_size [private] |
Definition at line 54 of file create_pattern.cpp.
vector<string> CreatePattern::filepaths [private] |
Definition at line 58 of file create_pattern.cpp.
ros::NodeHandle CreatePattern::n [private] |
Definition at line 61 of file create_pattern.cpp.
const int CreatePattern::num_patterns = 5 [static, private] |
Definition at line 55 of file create_pattern.cpp.
IplImage* CreatePattern::pattern [private] |
Definition at line 53 of file create_pattern.cpp.
int CreatePattern::pattern_count [private] |
Definition at line 57 of file create_pattern.cpp.
int CreatePattern::pattern_index [private] |
Definition at line 57 of file create_pattern.cpp.
int CreatePattern::pheight [private] |
Definition at line 50 of file create_pattern.cpp.
int CreatePattern::pwidth [private] |
Definition at line 49 of file create_pattern.cpp.
ros::ServiceServer CreatePattern::serv [private] |
Definition at line 62 of file create_pattern.cpp.
bool CreatePattern::service [private] |
Definition at line 59 of file create_pattern.cpp.