OpenMesh::DefaultTraits Class Reference

#include <OpenMesh/Mesh/Traits.hh>

Inheritance diagram for OpenMesh::DefaultTraits:

Inheritance graph
[legend]

Public Types

typedef Vec3f Point
 The default coordinate type is OpenMesh::Vec3f.
typedef Vec3f Normal
 The default normal type is OpenMesh::Vec3f.
typedef float TexCoord1D
 The default 1D texture coordinate type is float.
typedef Vec2f TexCoord2D
 The default 2D texture coordinate type is OpenMesh::Vec2f.
typedef Vec3f TexCoord3D
 The default 3D texture coordinate type is OpenMesh::Vec3f.
typedef Vec3uc Color
 The default color type is OpenMesh::Vec3uc.

Public Member Functions

 VertexAttributes (0)
 HalfedgeAttributes (Attributes::PrevHalfedge)
 EdgeAttributes (0)
 FaceAttributes (0)

Detailed Description

Base class for all traits. All user traits should be derived from this class. You may enrich all basic items by additional properties or define one or more of the types Point, Normal, TexCoord, or Color.

See also:
The Mesh docu section on mesh_type.

Traits.hh for a list of macros for traits classes.


The documentation for this class was generated from the following file:

Generated on Fri Jan 16 13:01:05 2009 by  doxygen 1.5.5