Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
VectorT.hh
1 /*===========================================================================*\
2  * *
3  * OpenFlipper *
4  * Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aachen *
5  * www.openflipper.org *
6  * *
7  *---------------------------------------------------------------------------*
8  * This file is part of OpenFlipper. *
9  * *
10  * OpenFlipper is free software: you can redistribute it and/or modify *
11  * it under the terms of the GNU Lesser General Public License as *
12  * published by the Free Software Foundation, either version 3 of *
13  * the License, or (at your option) any later version with the *
14  * following exceptions: *
15  * *
16  * If other files instantiate templates or use macros *
17  * or inline functions from this file, or you compile this file and *
18  * link it with other files to produce an executable, this file does *
19  * not by itself cause the resulting executable to be covered by the *
20  * GNU Lesser General Public License. This exception does not however *
21  * invalidate any other reasons why the executable file might be *
22  * covered by the GNU Lesser General Public License. *
23  * *
24  * OpenFlipper is distributed in the hope that it will be useful, *
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
27  * GNU Lesser General Public License for more details. *
28  * *
29  * You should have received a copy of the GNU LesserGeneral Public *
30  * License along with OpenFlipper. If not, *
31  * see <http://www.gnu.org/licenses/>. *
32  * *
33 \*===========================================================================*/
34 
35 /*===========================================================================*\
36  * *
37  * $Revision: 14455 $ *
38  * $Author: bommes $ *
39  * $Date: 2012-04-27 18:48:14 +0200 (Fr, 27 Apr 2012) $ *
40  * *
41 \*===========================================================================*/
42 
43 
44 
45 //=============================================================================
46 //
47 // CLASS VectorT
48 //
49 //=============================================================================
50 
51 
52 #ifndef ACG_VECTOR_HH
53 #define ACG_VECTOR_HH
54 
55 
56 //== INCLUDES =================================================================
57 
58 
59 #include "../Config/ACGDefines.hh"
60 #include <OpenMesh/Core/Geometry/VectorT.hh>
61 
62 
63 //== NAMESPACES ===============================================================
64 
65 
66 namespace ACG {
67 
68 //=============================================================================
69 
70 
71 using OpenMesh::VectorT;
72 
74 typedef VectorT<signed char,1> Vec1c;
76 typedef VectorT<unsigned char,1> Vec1uc;
78 typedef VectorT<signed short int,1> Vec1s;
80 typedef VectorT<unsigned short int,1> Vec1us;
82 typedef VectorT<signed int,1> Vec1i;
84 typedef VectorT<unsigned int,1> Vec1ui;
86 typedef VectorT<float,1> Vec1f;
88 typedef VectorT<double,1> Vec1d;
89 
91 typedef VectorT<signed char,2> Vec2c;
93 typedef VectorT<unsigned char,2> Vec2uc;
95 typedef VectorT<signed short int,2> Vec2s;
97 typedef VectorT<unsigned short int,2> Vec2us;
99 typedef VectorT<signed int,2> Vec2i;
101 typedef VectorT<unsigned int,2> Vec2ui;
103 typedef VectorT<float,2> Vec2f;
105 typedef VectorT<double,2> Vec2d;
106 
108 typedef VectorT<signed char,3> Vec3c;
110 typedef VectorT<unsigned char,3> Vec3uc;
112 typedef VectorT<signed short int,3> Vec3s;
114 typedef VectorT<unsigned short int,3> Vec3us;
116 typedef VectorT<signed int,3> Vec3i;
118 typedef VectorT<unsigned int,3> Vec3ui;
122 typedef VectorT<double,3> Vec3d;
124 typedef VectorT<bool,3> Vec3b;
125 
127 typedef VectorT<signed char,4> Vec4c;
129 typedef VectorT<unsigned char,4> Vec4uc;
131 typedef VectorT<signed short int,4> Vec4s;
133 typedef VectorT<unsigned short int,4> Vec4us;
135 typedef VectorT<signed int,4> Vec4i;
137 typedef VectorT<unsigned int,4> Vec4ui;
139 typedef VectorT<float,4> Vec4f;
141 typedef VectorT<double,4> Vec4d;
142 
144 typedef VectorT<signed char,6> Vec6c;
146 typedef VectorT<unsigned char,6> Vec6uc;
148 typedef VectorT<signed short int,6> Vec6s;
150 typedef VectorT<unsigned short int,6> Vec6us;
152 typedef VectorT<signed int,6> Vec6i;
154 typedef VectorT<unsigned int,6> Vec6ui;
156 typedef VectorT<float,6> Vec6f;
158 typedef VectorT<double,6> Vec6d;
159 
160 
161 //=============================================================================
162 } // namespace ACG
163 //=============================================================================
164 #endif // ACG_VECTOR_HH defined
165 //=============================================================================