文件名称: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
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
