Functions
create_calibs.cpp File Reference
#include <youbot_overhead_vision/create_calibs.h>
Include dependency graph for create_calibs.cpp:

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)

Function Documentation

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.

Parameters:
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.



youbot_overhead_vision
Author(s): Fred Clinckemaillie, Maintained by David Kent
autogenerated on Thu Jan 2 2014 12:14:12