OpenCOVER
coRelativeInputInteraction.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_RELATIVEINPUTINTERACTION_H
9#define CO_RELATIVEINPUTINTERACTION_H
10
12
13namespace vrui
14{
15
16class OPENVRUIEXPORT coRelativeInputInteraction
18{
19public:
20 coRelativeInputInteraction(const std::string &name, InteractionType type = NoButton, InteractionPriority priority = Medium);
22
23 virtual void update() override;
24
25protected:
26 bool conditionMet() const override;
27 bool conditionBecameMet() const override;
28
29 bool m_matIsIdentity = false, m_matWasIdentity = false;
30};
31
32}
33#endif
collaborative interface manager
Definition: coVRCommunication.h:41
InteractionType
Definition: coInteraction.h:45
InteractionPriority
Definition: coInteraction.h:34
Definition: coRelativeButtonInteraction.h:20
Definition: coRelativeInputInteraction.h:18
bool conditionBecameMet() const override
bool conditionMet() const override
coRelativeInputInteraction(const std::string &name, InteractionType type=NoButton, InteractionPriority priority=Medium)
virtual void update() override