OpenMesh: OpenMesh::Kernel_OSG::Traits Struct Reference

| OpenMesh

Public Types | List of all members
OpenMesh::Kernel_OSG::Traits Struct Reference

Base class for all mesh traits using the OSGArrayKernelT. More...

`#include <OpenMesh/Tools/Kernel_OSG/Traits.hh>`

Inheritance diagram for OpenMesh::Kernel_OSG::Traits:
[legend]
Collaboration diagram for OpenMesh::Kernel_OSG::Traits:
[legend]

## Public Types
typedef osg::Pnt3f | Point
typedef osg::Color3ub | Color
typedef osg::Vec3f | Normal
typedef osg::Vec2f | TexCoord
typedef osg::Vec3f::ValueType | Scalar
Public Types inherited from OpenMesh::DefaultTraits
enum | { VertexAttributes = 0 }
enum | { HalfedgeAttributes = Attributes::PrevHalfedge }
enum | { EdgeAttributes = 0 }
enum | { FaceAttributes = 0 }
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 int | TextureIndex
| The default texture index type.
typedef Vec3uc | Color
| The default color type is OpenMesh::Vec3uc.

## Detailed Description

Base class for all mesh traits using the OSGArrayKernelT.

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:

- OpenMesh/Tools/Kernel_OSG/Traits.hh