IsoEx
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules 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 <OpenMesh/Core/Geometry/VectorT.hh>
60 
61 
62 //== NAMESPACES ===============================================================
63 
64 
65 namespace ACG {
66 
67 //=============================================================================
68 
69 
70 using OpenMesh::VectorT;
71 
73 typedef VectorT<signed char,1> Vec1c;
75 typedef VectorT<unsigned char,1> Vec1uc;
77 typedef VectorT<signed short int,1> Vec1s;
79 typedef VectorT<unsigned short int,1> Vec1us;
81 typedef VectorT<signed int,1> Vec1i;
83 typedef VectorT<unsigned int,1> Vec1ui;
85 typedef VectorT<float,1> Vec1f;
87 typedef VectorT<double,1> Vec1d;
88 
90 typedef VectorT<signed char,2> Vec2c;
92 typedef VectorT<unsigned char,2> Vec2uc;
94 typedef VectorT<signed short int,2> Vec2s;
96 typedef VectorT<unsigned short int,2> Vec2us;
98 typedef VectorT<signed int,2> Vec2i;
100 typedef VectorT<unsigned int,2> Vec2ui;
102 typedef VectorT<float,2> Vec2f;
104 typedef VectorT<double,2> Vec2d;
105 
107 typedef VectorT<signed char,3> Vec3c;
109 typedef VectorT<unsigned char,3> Vec3uc;
111 typedef VectorT<signed short int,3> Vec3s;
113 typedef VectorT<unsigned short int,3> Vec3us;
115 typedef VectorT<signed int,3> Vec3i;
117 typedef VectorT<unsigned int,3> Vec3ui;
119 typedef VectorT<float,3> Vec3f;
121 typedef VectorT<double,3> Vec3d;
123 typedef VectorT<bool,3> Vec3b;
124 
126 typedef VectorT<signed char,4> Vec4c;
128 typedef VectorT<unsigned char,4> Vec4uc;
130 typedef VectorT<signed short int,4> Vec4s;
132 typedef VectorT<unsigned short int,4> Vec4us;
134 typedef VectorT<signed int,4> Vec4i;
136 typedef VectorT<unsigned int,4> Vec4ui;
138 typedef VectorT<float,4> Vec4f;
140 typedef VectorT<double,4> Vec4d;
141 
143 typedef VectorT<signed char,6> Vec6c;
145 typedef VectorT<unsigned char,6> Vec6uc;
147 typedef VectorT<signed short int,6> Vec6s;
149 typedef VectorT<unsigned short int,6> Vec6us;
151 typedef VectorT<signed int,6> Vec6i;
153 typedef VectorT<unsigned int,6> Vec6ui;
155 typedef VectorT<float,6> Vec6f;
157 typedef VectorT<double,6> Vec6d;
158 
159 
160 //=============================================================================
161 } // namespace ACG
162 //=============================================================================
163 #endif // ACG_VECTOR_HH defined
164 //=============================================================================
Definition: Matrix4x4T.cc:65