Developer Documentation
OpenMesh::DefaultTraits Class Reference

#include <OpenMesh/Mesh/Traits.hh>

Inheritance diagram for OpenMesh::DefaultTraits:
MyTraits AnalyzerTraits CustomTraits CustomTraits CustomTraits CustomTraitsVec2i CustomTraitsVec2i MeshViewerWidgetTraits MyDeleteGeometryExampleTraits MyMConvertTraits MyMeshSmootherExampleTraits MySmoothingTraits MyTraits MyTraits MyTraits MyTraits MyTraits MyTraits MyTraits MyTraits OpenMesh::DefaultTraitsDouble OpenMesh::Kernel_OSG::Traits OpenMesh::Subdivider::Adaptive::CompositeTraits OpenMesh::Subdivider::Adaptive::Traits OpenMesh::Subdivider::Uniform::CompositeTraits OpenMesh::VDPM::MeshTraits ProgTraits

Public Types

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

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

Definition at line 121 of file Traits.hh.

Member Typedef Documentation

◆ Color

The default color type is OpenMesh::Vec3uc.

Definition at line 140 of file Traits.hh.

◆ Normal

The default normal type is OpenMesh::Vec3f.

Definition at line 127 of file Traits.hh.

◆ Point

The default coordinate type is OpenMesh::Vec3f.

Definition at line 124 of file Traits.hh.

◆ TexCoord1D

The default 1D texture coordinate type is float.

Definition at line 130 of file Traits.hh.

◆ TexCoord2D

The default 2D texture coordinate type is OpenMesh::Vec2f.

Definition at line 132 of file Traits.hh.

◆ TexCoord3D

The default 3D texture coordinate type is OpenMesh::Vec3f.

Definition at line 134 of file Traits.hh.

◆ TextureIndex

The default texture index type.

Definition at line 137 of file Traits.hh.


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