Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OpenMesh::DefaultTraits Struct Reference

Base class for all traits. More...

#include <OpenMesh/Mesh/Traits.hh>

Inheritance diagram for OpenMesh::DefaultTraits:

OpenMesh::Kernel_OSG::Traits Adaptive::CompositeTraits Uniform::CompositeTraits OpenMesh::VDPM::MeshTraits List of all members.

Public Types

typedef Vec3f Point
 The default coordinate type is OpenMesh::Vec3f.

typedef Vec3f Normal
 The default normal type is OpenMesh::Vec3f.

typedef Vec2f TexCoord
 The default texture coordinate type is OpenMesh::Vec2f.

typedef Vec3uc Color
 The default color type is OpenMesh::Vec3uc.


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 Specifying your MyMesh. , Traits.hh for a list of macros for traits classes.


The documentation for this struct was generated from the following file:
acg pic Project OpenMesh, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .