MeVisLab Toolbox Reference
SoInteractionMapper Class Reference

SoInteractionMapper is the base class for instances that map SoPointingActions or SoCommandActions to other key/button combinations. More...

#include <SoInteractionMapper.h>

Public Member Functions

 SoInteractionMapper ()
 Standard constructor. More...
 
virtual ~SoInteractionMapper ()
 Virtual destructor. More...
 
virtual SoCommandAction::ShortcutList getShortcuts (SoCommandAction *action, bool &final)
 Returns the list of shortcuts defined for the given command action. More...
 
virtual SoPointingAction::TriggerList getTriggers (SoPointingAction *action, bool &final)
 Returns the list of triggers defined for the given pointing action. More...
 
virtual SoOffsetAction::TriggerList getTriggers (SoOffsetAction *action, bool &final)
 Returns the list of triggers defined for the given offset action. More...
 

Detailed Description

SoInteractionMapper is the base class for instances that map SoPointingActions or SoCommandActions to other key/button combinations.

These can be set on the SoInteractionCoordinator and override the default behavior. SoInteractionMapper is the base class for instances that map SoPointingActions or SoCommandActions to other key/button combinations. These can be set on the SoInteractionCoordinator and override the default behavior.

Definition at line 33 of file SoInteractionMapper.h.

Constructor & Destructor Documentation

◆ SoInteractionMapper()

SoInteractionMapper::SoInteractionMapper ( )
inline

Standard constructor.

Definition at line 37 of file SoInteractionMapper.h.

◆ ~SoInteractionMapper()

virtual SoInteractionMapper::~SoInteractionMapper ( )
inlinevirtual

Virtual destructor.

Definition at line 40 of file SoInteractionMapper.h.

Member Function Documentation

◆ getShortcuts()

virtual SoCommandAction::ShortcutList SoInteractionMapper::getShortcuts ( SoCommandAction action,
bool &  final 
)
virtual

Returns the list of shortcuts defined for the given command action.

If final is set to true, this list should be considered complete, otherwise look at following mappers or even the default for the action.

◆ getTriggers() [1/2]

virtual SoOffsetAction::TriggerList SoInteractionMapper::getTriggers ( SoOffsetAction action,
bool &  final 
)
virtual

Returns the list of triggers defined for the given offset action.

If final is set to true, this list should be considered complete, otherwise look at following mappers or even the default for the action.

◆ getTriggers() [2/2]

virtual SoPointingAction::TriggerList SoInteractionMapper::getTriggers ( SoPointingAction action,
bool &  final 
)
virtual

Returns the list of triggers defined for the given pointing action.

If final is set to true, this list should be considered complete, otherwise look at following mappers or even the default for the action.


The documentation for this class was generated from the following file: