fixed: compile issue
[opensg.git] / Source / System / Window / Utilities / OSGNavigatorBase.h
blob453313c2f46a5baa3b1b0a2178247d567fe70c00
1 /*---------------------------------------------------------------------------*\
2 * OpenSG *
3 * *
4 * *
5 * Copyright (C) 2009 by the OpenSG Forum *
6 * *
7 * www.opensg.org *
8 * *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
10 * *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
13 * License *
14 * *
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
18 * *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
23 * *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
27 * *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
30 * Changes *
31 * *
32 * *
33 * *
34 * *
35 * *
36 * *
37 \*---------------------------------------------------------------------------*/
39 #ifndef _OSG_NAVIGATORBASE_H_
40 #define _OSG_NAVIGATORBASE_H_
42 OSG_BEGIN_NAMESPACE
44 /*! \ingroup GrpUtilNavigation
45 \ingroup GrpLibOSGUtil
48 class OSG_UTIL_DLLMAPPING NavigatorBase
50 /*========================== PUBLIC =================================*/
52 public:
54 /*---------------------------------------------------------------------*/
55 /*! \name Types */
56 /*! \{ */
58 enum Mode
60 TRACKBALL = 0x0000,
61 FLY = 0x0001,
62 WALK = 0x0002,
63 NAVBALL = 0x0003,
64 NONE = 0x0004,
65 USER = 0x0005
68 enum State
70 IDLE=0,
71 ROTATING,
72 TRANSLATING_XY,
73 TRANSLATING_Z,
75 TRANSLATING_ZPLUS=10,
76 TRANSLATING_ZMINUS
79 enum MouseButton
81 LEFT_MOUSE = 0x0000,
82 MIDDLE_MOUSE = 0x0001,
83 RIGHT_MOUSE = 0x0002,
84 UP_MOUSE = 0x0003,
85 DOWN_MOUSE = 0x0004
88 enum Key
90 LEFT=0,
91 RIGHT,
92 FORWARDS,
93 BACKWARDS,
94 LEFTROT,
95 RIGHTROT
98 /*! \} */
99 /*---------------------------------------------------------------------*/
101 virtual ~NavigatorBase(void) {}
104 OSG_END_NAMESPACE
106 #endif //_OSG_NAVIGATORBASE_H_