open3d.visualization.gui.MouseEvent¶
-
class
open3d.visualization.gui.
MouseEvent
¶ Object that stores mouse events
-
class
Type
¶ Members:
MOVE
BUTTON_DOWN
DRAG
BUTTON_UP
WHEEL
-
BUTTON_DOWN
= <Type.BUTTON_DOWN: 1>¶
-
BUTTON_UP
= <Type.BUTTON_UP: 3>¶
-
DRAG
= <Type.DRAG: 2>¶
-
MOVE
= <Type.MOVE: 0>¶
-
WHEEL
= <Type.WHEEL: 4>¶
-
property
value
¶
-
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Convenience function to more easily deterimine if a mouse button is pressed
-
is_modifier_down
(self: open3d.cpu.pybind.visualization.gui.MouseEvent, arg0: open3d.cpu.pybind.visualization.gui.KeyModifier) → bool¶ Convenience function to more easily deterimine if a modifier key is down
-
BUTTON_DOWN
= <Type.BUTTON_DOWN: 1>¶
-
BUTTON_UP
= <Type.BUTTON_UP: 3>¶
-
DRAG
= <Type.DRAG: 2>¶
-
MOVE
= <Type.MOVE: 0>¶
-
WHEEL
= <Type.WHEEL: 4>¶
ORed mouse buttons
-
property
modifiers
¶ ORed mouse modifiers
-
property
type
¶ Mouse event type
-
property
wheel_dx
¶ Mouse wheel horizontal motion
-
property
wheel_dy
¶ Mouse wheel vertical motion
-
property
wheel_is_trackpad
¶ Is mouse wheel event from a trackpad
-
property
x
¶ x coordinate of the mouse event
-
property
y
¶ y coordinate of the mouse event
-
class