VectorT.hh

00001 /*===========================================================================*\
00002  *                                                                           *
00003  *                              OpenFlipper                                  *
00004  *      Copyright (C) 2001-2009 by Computer Graphics Group, RWTH Aachen      *
00005  *                           www.openflipper.org                             *
00006  *                                                                           *
00007  *---------------------------------------------------------------------------*
00008  *  This file is part of OpenFlipper.                                        *
00009  *                                                                           *
00010  *  OpenFlipper is free software: you can redistribute it and/or modify      *
00011  *  it under the terms of the GNU Lesser General Public License as           *
00012  *  published by the Free Software Foundation, either version 3 of           *
00013  *  the License, or (at your option) any later version with the              *
00014  *  following exceptions:                                                    *
00015  *                                                                           *
00016  *  If other files instantiate templates or use macros                       *
00017  *  or inline functions from this file, or you compile this file and         *
00018  *  link it with other files to produce an executable, this file does        *
00019  *  not by itself cause the resulting executable to be covered by the        *
00020  *  GNU Lesser General Public License. This exception does not however       *
00021  *  invalidate any other reasons why the executable file might be            *
00022  *  covered by the GNU Lesser General Public License.                        *
00023  *                                                                           *
00024  *  OpenFlipper is distributed in the hope that it will be useful,           *
00025  *  but WITHOUT ANY WARRANTY; without even the implied warranty of           *
00026  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            *
00027  *  GNU Lesser General Public License for more details.                      *
00028  *                                                                           *
00029  *  You should have received a copy of the GNU LesserGeneral Public          *
00030  *  License along with OpenFlipper. If not,                                  *
00031  *  see <http://www.gnu.org/licenses/>.                                      *
00032  *                                                                           *
00033 \*===========================================================================*/
00034 
00035 /*===========================================================================*\
00036  *                                                                           *
00037  *   $Revision: 6743 $                                                       *
00038  *   $Author: moebius $                                                      *
00039  *   $Date: 2009-08-05 11:03:10 +0200 (Mi, 05. Aug 2009) $                   *
00040  *                                                                           *
00041 \*===========================================================================*/
00042 
00043 
00044 
00045 //=============================================================================
00046 //
00047 //  CLASS VectorT
00048 //
00049 //=============================================================================
00050 
00051 
00052 #ifndef ACG_VECTOR_HH
00053 #define ACG_VECTOR_HH
00054 
00055 
00056 //== INCLUDES =================================================================
00057 
00058 
00059 #include "../Config/ACGDefines.hh"
00060 #include <OpenMesh/Core/Geometry/VectorT.hh>
00061 
00062 
00063 //== NAMESPACES ===============================================================
00064 
00065 
00066 namespace ACG {
00067 
00068 //=============================================================================
00069 
00070 
00071 using OpenMesh::VectorT;
00072 
00074 typedef VectorT<signed char,1> Vec1c;
00076 typedef VectorT<unsigned char,1> Vec1uc;
00078 typedef VectorT<signed short int,1> Vec1s;
00080 typedef VectorT<unsigned short int,1> Vec1us;
00082 typedef VectorT<signed int,1> Vec1i;
00084 typedef VectorT<unsigned int,1> Vec1ui;
00086 typedef VectorT<float,1> Vec1f;
00088 typedef VectorT<double,1> Vec1d;
00089 
00091 typedef VectorT<signed char,2> Vec2c;
00093 typedef VectorT<unsigned char,2> Vec2uc;
00095 typedef VectorT<signed short int,2> Vec2s;
00097 typedef VectorT<unsigned short int,2> Vec2us;
00099 typedef VectorT<signed int,2> Vec2i;
00101 typedef VectorT<unsigned int,2> Vec2ui;
00103 typedef VectorT<float,2> Vec2f;
00105 typedef VectorT<double,2> Vec2d;
00106 
00108 typedef VectorT<signed char,3> Vec3c;
00110 typedef VectorT<unsigned char,3> Vec3uc;
00112 typedef VectorT<signed short int,3> Vec3s;
00114 typedef VectorT<unsigned short int,3> Vec3us;
00116 typedef VectorT<signed int,3> Vec3i;
00118 typedef VectorT<unsigned int,3> Vec3ui;
00120 typedef VectorT<float,3> Vec3f;
00122 typedef VectorT<double,3> Vec3d;
00123 
00125 typedef VectorT<signed char,4> Vec4c;
00127 typedef VectorT<unsigned char,4> Vec4uc;
00129 typedef VectorT<signed short int,4> Vec4s;
00131 typedef VectorT<unsigned short int,4> Vec4us;
00133 typedef VectorT<signed int,4> Vec4i;
00135 typedef VectorT<unsigned int,4> Vec4ui;
00137 typedef VectorT<float,4> Vec4f;
00139 typedef VectorT<double,4> Vec4d;
00140 
00142 typedef VectorT<signed char,6> Vec6c;
00144 typedef VectorT<unsigned char,6> Vec6uc;
00146 typedef VectorT<signed short int,6> Vec6s;
00148 typedef VectorT<unsigned short int,6> Vec6us;
00150 typedef VectorT<signed int,6> Vec6i;
00152 typedef VectorT<unsigned int,6> Vec6ui;
00154 typedef VectorT<float,6> Vec6f;
00156 typedef VectorT<double,6> Vec6d;
00157 
00158 
00159 //=============================================================================
00160 } // namespace ACG
00161 //=============================================================================
00162 #endif // ACG_VECTOR_HH defined
00163 //=============================================================================

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .