Assimp  v3.1.1 (June 2014)
Assimp::SGSpatialSort::Entry Struct Reference

An entry in a spatially sorted position array. More...

Public Member Functions

 Entry ()
 
 Entry (unsigned int pIndex, const aiVector3D &pPosition, float pDistance, uint32_t pSG)
 
bool operator< (const Entry &e) const
 

Public Attributes

float mDistance
 Distance of this vertex to the sorting plane. More...
 
unsigned int mIndex
 The vertex referred by this entry. More...
 
aiVector3D mPosition
 Position. More...
 
uint32_t mSmoothGroups
 

Detailed Description

An entry in a spatially sorted position array.

Consists of a vertex index, its position and its precalculated distance from the reference plane

Constructor & Destructor Documentation

Assimp::SGSpatialSort::Entry::Entry ( )
inline

intentionally not initialized.

Assimp::SGSpatialSort::Entry::Entry ( unsigned int  pIndex,
const aiVector3D pPosition,
float  pDistance,
uint32_t  pSG 
)
inline

Member Function Documentation

bool Assimp::SGSpatialSort::Entry::operator< ( const Entry e) const
inline

Member Data Documentation

float Assimp::SGSpatialSort::Entry::mDistance

Distance of this vertex to the sorting plane.

unsigned int Assimp::SGSpatialSort::Entry::mIndex

The vertex referred by this entry.

aiVector3D Assimp::SGSpatialSort::Entry::mPosition

Position.

uint32_t Assimp::SGSpatialSort::Entry::mSmoothGroups

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