OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
coNavInteraction.h
Go to the documentation of this file.
1 /* This file is part of COVISE.
2 
3  You can use it under the terms of the GNU Lesser General Public License
4  version 2.1 or later, see lgpl-2.1.txt.
5 
6  * License: LGPL 2+ */
7 
8 #ifndef CO_NAVINTERACTION_H
9 #define CO_NAVINTERACTION_H
10 
11 #include <OpenVRUI/coInteraction.h>
13 
14 namespace vrui
15 {
16 
17 class OPENVRUIEXPORT coNavInteraction
18  : public coInteraction
19 {
20 public:
21  coNavInteraction(InteractionType type, const std::string &name, InteractionPriority priority = Navigation);
22  virtual ~coNavInteraction();
23 
24  virtual void update();
25  virtual void startInteraction();
26  virtual void stopInteraction();
27  virtual void doInteraction();
28  virtual void cancelInteraction();
29 
30 protected:
31  InteractionState oldState;
32 };
33 }
34 #endif
Definition: coNavInteraction.h:17
InteractionState oldState
Definition: coNavInteraction.h:31
Definition: coInteraction.h:17
InteractionType
Definition: coInteraction.h:44
InteractionPriority
Definition: coInteraction.h:33