Developer Documentation

traits0.cc
1 struct DefaultTraits
2 {
3 typedef Vec3f Point;
4 typedef Vec3f Normal;
5 typedef Vec2f TexCoord;
6 typedef Vec3uc Color;
7
8 VertexTraits {};
9 HalfedgeTraits {};
10 EdgeTraits {};
11 FaceTraits {};
12
13 VertexAttributes(0);
14 HalfedgeAttributes(Attributes::PrevHalfedge);
15 EdgeAttributes(0);
16 FaceAttributes(0);
17 };
OpenMesh::VectorT< float, 3 >
DefaultTraits
Definition: traits0.cc:1
OpenMesh::Attributes::PrevHalfedge
Add storage for previous halfedge (halfedges). The bit is set by default in the DefaultTraits.
Definition: Attributes.hh:84