文件名称:mouse_event
介绍说明--下载内容来自于网络,使用问题请自行百度
This program creates a rectangle when you click the mouse on the window, and stretches the rectangle until you release the mouse. This requires the creation of a mouse callback. For the main function we use a while loop that keeps redrawing each box as its created. Boxes are drawn and windows are created as learned in previous tutorials. The main new thing is the creation of the mouse callback. This is initialized with cvSetMouseCallback. The callback itself is an arbitrarily named function of the form my_mouse_callback( int event, int x, int y, an int flags, void* param) where x and y are the mouse position and event is a code representing what mouse action occured
相关搜索: mouse_event
mouse event
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mouse_event/1.jpg
mouse_event/halima.JPG
mouse_event/main.cpp
mouse_event/main.o
mouse_event/Makefile.win
mouse_event/mouse_event.dev
mouse_event/mouse_event.exe
mouse_event/rectangle.doc
mouse_event
mouse_event/halima.JPG
mouse_event/main.cpp
mouse_event/main.o
mouse_event/Makefile.win
mouse_event/mouse_event.dev
mouse_event/mouse_event.exe
mouse_event/rectangle.doc
mouse_event
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.