SoInteractionInfo

InventorModule
genre Interaction
status work-in-progress
author Uwe Siems
package MeVisLab/Standard
dll SoInteractionControllers
definition SoInteractionControllers.def
keywords entries, info, event, managed, interaction, scheme

Purpose

This module list interactions provided through the new managed interaction scheme.

Usage

Connect the OpenInventor (sub-)scene containing interactions to the module input. Trigger Update to update the information. The information will be listed in different tabs.

Windows

Default Panel

../../../Modules/Inventor/SoInteractionControllers/mhelp/Images/Screenshots/SoInteractionInfo._default.png

Input Fields

child

name: child, type: SoNode

Connect your OpenInventor (sub-)scene containing interactions to this input.

Output Fields

self

name: self, type: SoNode

This module doesn't need to be attached to other modules to work.

Parameter Fields

Field Index

Actions (availablePointingActions): String Selected Action ID: String
Actions (availableCommandActions): String Triggers: String
Description: String Type: Enum
Detailed (pointingActions): String Update: Trigger
Detailed (commandActions): String User name: String
Exists: Bool  
Icon file: String  
Is enabled: Bool  

Visible Fields

Update

name: update, type: Trigger

Trigger this to update the information about the connect (sub-)scene.

Actions (availablePointingActions)

name: availablePointingActions, type: String, persistent: no

Shows the names of all available pointing (mouse) actions in the (sub-)scene.

Actions (availableCommandActions)

name: availableCommandActions, type: String, persistent: no

Shows the names of all available command (keyboard) actions in the (sub-)scene.

Detailed (pointingActions)

name: pointingActions, type: String, persistent: no

This field lists the available pointing actions with more details. Each action is listed in a separate line. For each action it's full (internal) name, icon file, trigger and user name are listed, separated by @. The trigger is the mouse button and modifier combo that activate that action by default. The mouse buttons are indicated by the numbers 1-3 where 1 is the left mouse button, 2 the right and 3 the middle (is this correct?). Modifiers are indicated by letters S (Shift), C (Control) and A (Alt). If modifiers or mouse buttons are followed by a "?", they are completely ignored when checking if the action should be triggered.

Detailed (commandActions)

name: commandActions, type: String, persistent: no

This field lists the available command actions with more details. Each action is listed in a separate line. For each action it's full (internal) name, icon file, trigger and user name are listed, separated by @. The trigger is the key combo that activates that action by default. This is some key name, prepended with "Shift-", "Ctrl-" and "Alt-" for keyboard modifiers.

Selected Action ID

name: selectedActionID, type: String

Set this to an action name to get detailed, broken-down information about an action. This must be used together with Type.

Type

name: selectedActionType, type: Enum, default: POINTING_ACTION

Set this to an action type (POINTING_ACTION or COMMAND_ACTION) to get detailed, broken-down information about an action. This must be used together with Selected Action ID.

Values:

Title Name
Pointing Action POINTING_ACTION
Command Action COMMAND_ACTION

Exists

name: selectedActionExists, type: Bool, persistent: no

This field indicates if the action selected with Selected Action ID and Type even exists (remember to update the information with Update).

User name

name: selectedActionName, type: String, persistent: no

This field shows the user name of the action selected with Selected Action ID and Type (remember to update the information with Update).

Icon file

name: selectedActionIcon, type: String, persistent: no

This field shows the icon file name of the action selected with Selected Action ID and Type (remember to update the information with Update). An icon must not necessarily be set for an action.

Description

name: selectedActionDescription, type: String, persistent: no

This field shows the detailed description of the action selected with Selected Action ID and Type (remember to update the information with Update). A description must not necessarily be set for an action.

Triggers

name: selectedActionTriggers, type: String, persistent: no

This field shows the trigger for the action selected with Selected Action ID and Type (remember to update the information with Update). A trigger must not necessarily be set for an action. See documentation for Detailed and Detailed for a description of the format of this string.

Is enabled

name: selectedActionEnabled, type: Bool, persistent: no

This field shows if the action selected with Selected Action ID and Type is currently enabled (remember to update the information with Update). A description must not necessarily be set for an action.