Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
VectorT.hh
1 /*===========================================================================*\
2  * *
3  * OpenFlipper *
4  * Copyright (C) 2001-2014 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: 18203 $ *
38  * $Author: moebius $ *
39  * $Date: 2014-02-17 15:15:05 +0100 (Mon, 17 Feb 2014) $ *
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 #include <ACG/Config/ACGDefines.hh>
59 #include <OpenMesh/Core/Geometry/VectorT.hh>
60 
61 //== NAMESPACES ===============================================================
62 
63 
64 namespace ACG {
65 
66 //=============================================================================
67 
68 
69 using OpenMesh::VectorT;
70 
72 typedef VectorT<signed char,1> Vec1c;
74 typedef VectorT<unsigned char,1> Vec1uc;
76 typedef VectorT<signed short int,1> Vec1s;
78 typedef VectorT<unsigned short int,1> Vec1us;
80 typedef VectorT<signed int,1> Vec1i;
82 typedef VectorT<unsigned int,1> Vec1ui;
84 typedef VectorT<float,1> Vec1f;
86 typedef VectorT<double,1> Vec1d;
87 
89 typedef VectorT<signed char,2> Vec2c;
91 typedef VectorT<unsigned char,2> Vec2uc;
93 typedef VectorT<signed short int,2> Vec2s;
95 typedef VectorT<unsigned short int,2> Vec2us;
97 typedef VectorT<signed int,2> Vec2i;
99 typedef VectorT<unsigned int,2> Vec2ui;
101 typedef VectorT<float,2> Vec2f;
103 typedef VectorT<double,2> Vec2d;
104 
106 typedef VectorT<signed char,3> Vec3c;
108 typedef VectorT<unsigned char,3> Vec3uc;
110 typedef VectorT<signed short int,3> Vec3s;
112 typedef VectorT<unsigned short int,3> Vec3us;
114 typedef VectorT<signed int,3> Vec3i;
116 typedef VectorT<unsigned int,3> Vec3ui;
118 typedef VectorT<float,3> Vec3f;
120 typedef VectorT<double,3> Vec3d;
122 typedef VectorT<bool,3> Vec3b;
123 
125 typedef VectorT<signed char,4> Vec4c;
127 typedef VectorT<unsigned char,4> Vec4uc;
129 typedef VectorT<signed short int,4> Vec4s;
131 typedef VectorT<unsigned short int,4> Vec4us;
135 typedef VectorT<unsigned int,4> Vec4ui;
137 typedef VectorT<float,4> Vec4f;
139 typedef VectorT<double,4> Vec4d;
140 
142 typedef VectorT<signed char,6> Vec6c;
144 typedef VectorT<unsigned char,6> Vec6uc;
146 typedef VectorT<signed short int,6> Vec6s;
148 typedef VectorT<unsigned short int,6> Vec6us;
150 typedef VectorT<signed int,6> Vec6i;
152 typedef VectorT<unsigned int,6> Vec6ui;
154 typedef VectorT<float,6> Vec6f;
156 typedef VectorT<double,6> Vec6d;
157 
158 
159 //=============================================================================
160 } // namespace ACG
161 //=============================================================================
162 #endif // ACG_VECTOR_HH defined
163 //=============================================================================
VectorT< signed char, 2 > Vec2c
Definition: VectorT.hh:89
VectorT< double, 6 > Vec6d
Definition: VectorT.hh:156
VectorT< signed int, 3 > Vec3i
Definition: VectorT.hh:114
VectorT< float, 2 > Vec2f
Definition: VectorT.hh:101
VectorT< signed int, 4 > Vec4i
Definition: VectorT.hh:133
VectorT< double, 1 > Vec1d
Definition: VectorT.hh:86
VectorT< float, 3 > Vec3f
Definition: VectorT.hh:118
VectorT< double, 2 > Vec2d
Definition: VectorT.hh:103
VectorT< unsigned short int, 3 > Vec3us
Definition: VectorT.hh:112
VectorT< unsigned short int, 1 > Vec1us
Definition: VectorT.hh:78
VectorT< signed char, 1 > Vec1c
Definition: VectorT.hh:72
VectorT< signed short int, 6 > Vec6s
Definition: VectorT.hh:146
VectorT< signed char, 4 > Vec4c
Definition: VectorT.hh:125
VectorT< float, 1 > Vec1f
Definition: VectorT.hh:84
VectorT< signed char, 3 > Vec3c
Definition: VectorT.hh:106
VectorT< signed int, 6 > Vec6i
Definition: VectorT.hh:150
VectorT< bool, 3 > Vec3b
Definition: VectorT.hh:122
VectorT< unsigned int, 1 > Vec1ui
Definition: VectorT.hh:82
VectorT< signed short int, 1 > Vec1s
Definition: VectorT.hh:76
VectorT< unsigned short int, 2 > Vec2us
Definition: VectorT.hh:95
VectorT< unsigned int, 4 > Vec4ui
Definition: VectorT.hh:135
VectorT< signed int, 2 > Vec2i
Definition: VectorT.hh:97
VectorT< unsigned int, 3 > Vec3ui
Definition: VectorT.hh:116
VectorT< double, 3 > Vec3d
Definition: VectorT.hh:120
VectorT< unsigned char, 1 > Vec1uc
Definition: VectorT.hh:74
VectorT< unsigned short int, 6 > Vec6us
Definition: VectorT.hh:148
VectorT< signed int, 1 > Vec1i
Definition: VectorT.hh:80
VectorT< unsigned char, 2 > Vec2uc
Definition: VectorT.hh:91
VectorT< unsigned char, 4 > Vec4uc
Definition: VectorT.hh:127
VectorT< signed char, 6 > Vec6c
Definition: VectorT.hh:142
VectorT< unsigned int, 2 > Vec2ui
Definition: VectorT.hh:99
Namespace providing different geometric functions concerning angles.
Definition: DBSCANT.cc:10
VectorT< signed short int, 3 > Vec3s
Definition: VectorT.hh:110
VectorT< unsigned int, 6 > Vec6ui
Definition: VectorT.hh:152
VectorT< double, 4 > Vec4d
Definition: VectorT.hh:139
VectorT< float, 4 > Vec4f
Definition: VectorT.hh:137
VectorT< unsigned char, 3 > Vec3uc
Definition: VectorT.hh:108
VectorT< signed short int, 4 > Vec4s
Definition: VectorT.hh:129
VectorT< unsigned short int, 4 > Vec4us
Definition: VectorT.hh:131
VectorT< signed short int, 2 > Vec2s
Definition: VectorT.hh:93
VectorT< unsigned char, 6 > Vec6uc
Definition: VectorT.hh:144
VectorT< float, 6 > Vec6f
Definition: VectorT.hh:154