aiMesh.h File Reference

Declares the data structures in which the imported geometry is returned by ASSIMP: aiMesh, aiFace and aiBone data structures. More...

Classes

struct  aiAnimMesh
 NOT CURRENTLY IN USE. More...
struct  aiBone
 A single bone of a mesh. More...
struct  aiFace
 A single face in a mesh, referring to multiple vertices. More...
struct  aiMesh
 A mesh represents a geometry or model with a single material. More...
struct  aiVertexWeight
 A single influence of a bone on a vertex. More...

Enumerations

enum  aiPrimitiveType {
  aiPrimitiveType_POINT = 0x1, aiPrimitiveType_LINE = 0x2, aiPrimitiveType_TRIANGLE = 0x4, aiPrimitiveType_POLYGON = 0x8,
  _aiPrimitiveType_Force32Bit = 0x9fffffff
}
 

Enumerates the types of geometric primitives supported by Assimp.

More...

Detailed Description

Declares the data structures in which the imported geometry is returned by ASSIMP: aiMesh, aiFace and aiBone data structures.


Enumeration Type Documentation

Enumerates the types of geometric primitives supported by Assimp.

See also:
aiFace Face data structure
aiProcess_SortByPType Per-primitive sorting of meshes
aiProcess_Triangulate Automatic triangulation
AI_CONFIG_PP_SBP_REMOVE Removal of specific primitive types.
Enumerator:
aiPrimitiveType_POINT 

A point primitive.

This is just a single vertex in the virtual world, aiFace contains just one index for such a primitive.

aiPrimitiveType_LINE 

A line primitive.

This is a line defined through a start and an end position. aiFace contains exactly two indices for such a primitive.

aiPrimitiveType_TRIANGLE 

A triangular primitive.

A triangle consists of three indices.

aiPrimitiveType_POLYGON 

A higher-level polygon with more than 3 edges.

A triangle is a polygon, but polygon in this context means "all polygons that are not triangles". The "Triangulate"-Step is provided for your convenience, it splits all polygons in triangles (which are much easier to handle).

_aiPrimitiveType_Force32Bit 

This value is not used.

It is just here to force the compiler to map this enum to a 32 Bit integer.


Generated on 3 Jul 2012 for Assimp by  doxygen 1.6.1