OpenCOVER
coVRIntersectionInteractorManager.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_VR_INTERSECTION_INTERACTOR_MANAGER
9#define CO_VR_INTERSECTION_INTERACTOR_MANAGER
10
13#include <list>
14
15namespace opencover
16{
17
18class coVRIntersectionInteractor;
19
21{
22public:
25
30 void cycleThroughInteractors(bool forward = true);
31
33
35 {
36 return currentIntersectionInteractor;
37 }
38
39private:
40 // list of all interactions
41 std::list<coVRIntersectionInteractor *> allIntersectionInteractors;
42 std::list<coVRIntersectionInteractor *>::iterator allIntersectionInteractorsIt;
43 coVRIntersectionInteractor *currentIntersectionInteractor;
44 bool wait_;
45};
46}
47#endif
Definition: ARToolKit.h:33
Definition: coVRIntersectionInteractor.h:56
Definition: coVRIntersectionInteractorManager.h:21
void cycleThroughInteractors(bool forward=true)
coVRIntersectionInteractor * getCurrentIntersectionInteractor()
Definition: coVRIntersectionInteractorManager.h:34
static coVRIntersectionInteractorManager * the()
void remove(coVRIntersectionInteractor *)
void add(coVRIntersectionInteractor *)