Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
MeshWithSmoothingGroups< T > Struct Template Reference

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

#include <SmoothingGroups.h>

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

◆ mFaces

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

Face lists.

◆ mNormals

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

List of normal vectors.

◆ mPositions

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

Vertex positions.


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