Class cv::viz::MouseEvent#
This class represents a mouse event.
#include <opencv2/viz/types.hpp>Collaboration diagram for cv::viz::MouseEvent:
Public Types#
enum MouseButton {
NoButton = 0,
LeftButton,
MiddleButton,
RightButton,
VScroll
}
enum Type {
MouseMove = 1,
MouseButtonPress,
MouseButtonRelease,
MouseScrollDown,
MouseScrollUp,
MouseDblClick
}Detailed Description#
This class represents a mouse event.
Member Enumeration Documentation#
enum MouseButton
|
|
|
|
|
enum Type
|
|
|
|
|
|
Constructor & Destructor Documentation#
MouseEvent()#
cv::viz::MouseEvent::MouseEvent(
const Type & type,
const MouseButton & button,
const Point & pointer,
int modifiers )
Constructs a MouseEvent.
Parameters
type— Type of the event. This can be MouseMove, MouseButtonPress, MouseButtonRelease**, MouseScrollDown, MouseScrollUp, MouseDblClick.button— Mouse button. This can be NoButton, LeftButton, MiddleButton, RightButton**, VScroll.pointer— Position of the event.modifiers— Signals if alt, ctrl or shift are pressed or their combination.
Member Data Documentation#
modifiers#
int cv::viz::MouseEvent::modifiers
pointer#
Point cv::viz::MouseEvent::pointer
type#
Type cv::viz::MouseEvent::type
Source file#
The documentation for this class was generated from the following file:
opencv2/viz/types.hpp