Assimp  v3.1.1 (June 2014)
MeshWithSmoothingGroups< T > Struct Template Reference

Helper structure representing a mesh whose faces have smoothing groups assigned. More...

Public Attributes

std::vector< T > mFaces
 Face lists. More...
 
std::vector< aiVector3DmNormals
 List of normal vectors. More...
 
std::vector< aiVector3DmPositions
 Vertex positions. More...
 

Detailed Description

template<class T>
struct MeshWithSmoothingGroups< T >

Helper structure representing a mesh whose faces have smoothing groups assigned.

This allows us to reuse the code for normal computations from smoothings groups for several loaders (3DS, ASE). All of them use face structures which inherit from FaceWithSmoothingGroup, but as they add extra members and need to be copied by value we need to use a template here.

Member Data Documentation

template<class T>
std::vector<T> MeshWithSmoothingGroups< T >::mFaces

Face lists.

template<class T>
std::vector<aiVector3D> MeshWithSmoothingGroups< T >::mNormals

List of normal vectors.

template<class T>
std::vector<aiVector3D> MeshWithSmoothingGroups< T >::mPositions

Vertex positions.


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