SoSimulateMouse

InventorModule
author Felix Ritter
package FMEwork/ReleaseMeVis
dll SoSimulateMouse
definition SoSimulateMouse.def
see also SoSelection
keywords mouse, event, action, button, programmable, mouseclick, control, input

Purpose

The SoSimulateMouse module generates standard mouse events and sends them into the connected scene. Thereby modules requiring mouse input may be controlled programmatically.

Input Fields

child

name: child, type: SoNode

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Alt Down: Bool
Control Down: Bool
Mouse Action: Enum
Mouse Button: Enum
Position: Vector2
Shift Down: Bool

Visible Fields

Mouse Action

name: mouseAction, type: Enum, default: MOUSECLICK

Values:

Title Name
None NONE
Mousemove MOUSEMOVE
Mousedown MOUSEDOWN
Mouseup MOUSEUP
Mouseclick MOUSECLICK

Mouse Button

name: mouseButton, type: Enum, default: BUTTON1

Values:

Title Name
Button1 BUTTON1
Button2 BUTTON2
Button3 BUTTON3

Shift Down

name: shiftDown, type: Bool, default: FALSE

Control Down

name: controlDown, type: Bool, default: FALSE

Alt Down

name: altDown, type: Bool, default: FALSE

Position

name: position, type: Vector2, default: 0.5 0.5