MeVisLab Toolbox Reference
SoInteractionMapper.h
Go to the documentation of this file.
1 /*************************************************************************************
2 **
3 ** Copyright 2008, MeVis Medical Solutions AG
4 **
5 ** The user may use this file in accordance with the license agreement provided with
6 ** the Software or, alternatively, in accordance with the terms contained in a
7 ** written agreement between the user and MeVis Medical Solutions AG.
8 **
9 ** For further information use the contact form at https://www.mevislab.de/contact
10 **
11 **************************************************************************************/
12 
13 #ifndef SO_INTERACTION_MAPPER_H
14 #define SO_INTERACTION_MAPPER_H
15 
19 
21 #include <ThirdPartyWarningsDisable.h>
22 #include <string>
23 #include <list>
24 #include <ThirdPartyWarningsRestore.h>
25 
26 #include <SoCommandAction.h>
27 #include <SoPointingAction.h>
28 #include <SoOffsetAction.h>
29 
34 {
35 public:
38 
40  virtual ~SoInteractionMapper() {}
41 
46 
51 
56 };
57 
58 #endif // __SoInteractionMapper_H
#define SOMANAGEDINTERACTION_API
File to resolve system dependencies in View2D library.
SoCommandAction is the base class for instantaneous actions.
std::list< Shortcut > ShortcutList
A list of shortcuts.
SoInteractionMapper is the base class for instances that map SoPointingActions or SoCommandActions to...
virtual SoOffsetAction::TriggerList getTriggers(SoOffsetAction *action, bool &final)
Returns the list of triggers defined for the given offset action.
virtual SoPointingAction::TriggerList getTriggers(SoPointingAction *action, bool &final)
Returns the list of triggers defined for the given pointing action.
virtual SoCommandAction::ShortcutList getShortcuts(SoCommandAction *action, bool &final)
Returns the list of shortcuts defined for the given command action.
SoInteractionMapper()
Standard constructor.
virtual ~SoInteractionMapper()
Virtual destructor.
SoOffsetAction is the base class for any interaction that only provides (numeric) offsets in one or t...
std::list< Trigger > TriggerList
List of triggers.
SoPointingAction is the base class for any mouse based interaction.
std::list< Trigger > TriggerList
List of triggers.