#include <youbot_overhead_vision/create_calibs.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | myMouseCallback (int event, int x, int y, int flags, void *param) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 594 of file create_calibs.cpp.
void myMouseCallback | ( | int | event, |
int | x, | ||
int | y, | ||
int | flags, | ||
void * | param | ||
) |
Mouse call back event function. Has to be outside of the createCalibs class to function properly. This function turns on a flag when the left mouse button has been pressed, and saves the colors of the pixel where the mouse was pressed. This is used in showImage to create a new calibration object with these colors when it sees the mouseEvent flag was set to true.
event,: | marks what kind of mouse even was recorded |
x,: | x value of the position of the cursor |
y,: | y value of the position of the cursor |
flags,: | bitfield of flags (ie: control key pressed, shift key pressed, etc) |
param,: | pointer to the image. |
Definition at line 338 of file create_calibs.cpp.