Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Vector.cc
1 /*
2 * Vector.cc
3 *
4 * Created on: Aug 8, 2013
5 * Author: kremer
6 */
7
8 #include <string>
9
10 #include "VectorT.hh"
11
12 namespace OpenVolumeMesh {
13
14 using namespace Geometry;
15
16 template <> const std::string typeName<Vec2f>() { return "vec2f"; }
17 template <> const std::string typeName<Vec2d>() { return "vec2d"; }
18 template <> const std::string typeName<Vec2i>() { return "vec2i"; }
19 template <> const std::string typeName<Vec2ui>() { return "vec2ui"; }
20
21 template <> const std::string typeName<Vec3f>() { return "vec3f"; }
22 template <> const std::string typeName<Vec3d>() { return "vec3d"; }
23 template <> const std::string typeName<Vec3i>() { return "vec3i"; }
24 template <> const std::string typeName<Vec3ui>() { return "vec3ui"; }
25
26 template <> const std::string typeName<Vec4f>() { return "vec4f"; }
27 template <> const std::string typeName<Vec4d>() { return "vec4d"; }
28 template <> const std::string typeName<Vec4i>() { return "vec4i"; }
29 template <> const std::string typeName<Vec4ui>() { return "vec4ui"; }
30
31 }
OpenVolumeMesh
Definition: ColorAttrib.hh:53