|
| | SoView2DKeyboardAction (SoView2D *view, const std::string &id, SoKeyboardEvent::Key key, bool withShift=false) |
| | SoView2DKeyboardAction (SoView2D *view, const std::string &id, SoKeyboardEvent::Key key, SoKeyboardEvent::Key key2) |
| bool | isNumberKey () const |
| void | execute () override |
| | Executes the action. Must be overridden by user.
|
| Public Member Functions inherited from SoCommandAction |
| | SoCommandAction (SoInteractionOwner *owner, std::string id) |
| bool | setShortcut (const std::string &shortcut) |
| void | setShortcut (const Shortcut &shortcut) |
| | Sets the (only) default key shortcut.
|
| void | addShortcut (const Shortcut &shortcut) |
| | Adds another default key shortcut.
|
| void | clearShortcuts () |
| | Clears all currently set shortcuts.
|
| ShortcutList | getShortcuts () const |
| | Returns the default key shortcuts.
|
| TriggerList | getTriggers () const |
| | Alternative name for getShortcuts().
|
| virtual bool | isShortcut (int modifiers, SoKeyboardEvent::Key keyCode) const |
| | SoInteraction (InteractionType type, SoInteractionOwner *owner, const std::string &id, bool registerWithOwner=true) |
| virtual | ~SoInteraction () |
| SoInteractionOwner * | getOwner () const |
| | Returns the interaction provider of this entry.
|
| virtual bool | isEnabled () const |
| virtual void | setEnabled (bool enabled) |
| | Sets the enabled status of this interaction.
|
| std::string | getID () const |
| void | setID (const std::string &id) |
| | Sets the ID of this interaction.
|
| std::string | getFullID () const |
| InteractionType | getInteractionType () const |
| | Returns type of interaction object.
|
| template<class T> |
| bool | isOfType () const |
| | Convenience method for checking type.
|
| int | getMenuPriority () const |
| void | setMenuPriority (int priority) |
| | Sets the priority value for ordered display in menus/tool boxes.
|
| virtual std::string | getUserName () const |
| virtual void | setUserName (const std::string &name) |
| | Sets the user name of this interaction entry.
|
| virtual std::string | getIconFile () const |
| | Returns the filename of an icon (e.g., for use in a tool box or in menu).
|
| virtual void | setIconFile (const std::string &file) |
| | Sets the filename of an icon used for this interaction entry.
|
| virtual std::string | getDescription () const |
| | Returns the description for user help.
|
| virtual void | setDescription (const std::string &descr) |
| | Sets the description for user help.
|
| virtual void | ref () |
| virtual void | unref () |
| int | getStateVersion () const |
| void | touch () |
| | Increments the version number of attribute state to mark attribute changes.
|
|
| Public Types inherited from SoCommandAction |
| enum | { TypeId = TypeCommandAction
} |
| typedef ManagedKeyboardShortcut | Shortcut |
| typedef std::list< Shortcut > | ShortcutList |
| | A list of shortcuts.
|
| typedef ManagedKeyboardShortcut | Trigger |
| | Also define Trigger as synonym for Shortcut, since that name is used by the other interactions.
|
| typedef std::list< Shortcut > | TriggerList |
| | Defines TriggerList as synonym for ShortcutList.
|
| enum | {
NoModifier = ManagedActionTrigger::NoModifier
, ShiftModifier = ManagedActionTrigger::ShiftModifier
, ControlModifier = ManagedActionTrigger::ControlModifier
, AltModifier = ManagedActionTrigger::AltModifier
,
AllModifiersMask = ManagedActionTrigger::AllModifiersMask
, ShiftMask = ShiftModifier
, CtrlMask = ControlModifier
, AltMask = AltModifier
} |
| enum | InteractionType { TypePointingAction
, TypeCommandAction
, TypeOffsetAction
} |
| | Enum identifying subtypes of this class. More...
|
Definition at line 95 of file SoView2DInteraction.h.