vivalib library
Concurrent C++11 OpenCV library for Computer Vision applications
|
#include <listener.h>
Public Member Functions | |
virtual void | mouseInput (int event, int x, int y, int flags) |
virtual void | leftButtonDown (int x, int y, int flags) |
virtual void | rightButtonDown (int x, int y, int flags) |
virtual void | middleButtonDown (int x, int y, int flags) |
virtual void | mouseMove (int x, int y, int flags) |
MouseListener Interface
|
inlinevirtual |
It will be called only when a mouse left click is triggered
Reimplemented in viva::BatchProcessFrame, and viva::ProcessFrame.
|
inlinevirtual |
It will be called only when a mouse middle click is triggered
Reimplemented in viva::BatchProcessFrame, and viva::ProcessFrame.
|
inlinevirtual |
Will be triggered at any mouse event, the type of the event is especified in the first integer
event. | event could be one of the following OpenCV values EVENT_LBUTTONDOWN, EVENT_RBUTTONDOWN, EVENT_MBUTTONDOWN, EVENT_MOUSEMOVE. |
x | the x coordinates of the mouse cursor |
y | the y coordinates of the mouse cursor |
flgas | the flags passed from OpenCV |
Reimplemented in viva::BatchProcessFrame, and viva::ProcessFrame.
|
inlinevirtual |
It will be called only when a mouse move is triggered.
Reimplemented in viva::BatchProcessFrame, and viva::ProcessFrame.
|
inlinevirtual |
It will be called only when a right left click is triggered
Reimplemented in viva::BatchProcessFrame, and viva::ProcessFrame.