Assimp  v4.1. (December 2018)
FindInvalidDataProcess.cpp File Reference

Functions

template<typename T >
bool AllIdentical (T *in, unsigned int num, ai_real epsilon)
 
AI_FORCE_INLINE bool EpsilonCompare (ai_real n, ai_real s, ai_real epsilon)
 
template<typename T >
AI_FORCE_INLINE bool EpsilonCompare (const T &n, const T &s, ai_real epsilon)
 
template<>
bool EpsilonCompare< aiQuatKey > (const aiQuatKey &n, const aiQuatKey &s, ai_real epsilon)
 
template<>
bool EpsilonCompare< aiVectorKey > (const aiVectorKey &n, const aiVectorKey &s, ai_real epsilon)
 
template<typename T >
bool ProcessArray (T *&in, unsigned int num, const char *name, const std::vector< bool > &dirtyMask, bool mayBeIdentical=false, bool mayBeZero=true)
 
void UpdateMeshReferences (aiNode *node, const std::vector< unsigned int > &meshMapping)
 
template<typename T >
const char * ValidateArrayContents (const T *, unsigned int, const std::vector< bool > &, bool, bool)
 
template<>
const char * ValidateArrayContents< aiVector3D > (const aiVector3D *arr, unsigned int size, const std::vector< bool > &dirtyMask, bool mayBeIdentical, bool mayBeZero)
 

Function Documentation

◆ AllIdentical()

template<typename T >
bool AllIdentical ( T *  in,
unsigned int  num,
ai_real  epsilon 
)
inline

◆ EpsilonCompare() [1/2]

AI_FORCE_INLINE bool EpsilonCompare ( ai_real  n,
ai_real  s,
ai_real  epsilon 
)

◆ EpsilonCompare() [2/2]

template<typename T >
AI_FORCE_INLINE bool EpsilonCompare ( const T &  n,
const T &  s,
ai_real  epsilon 
)

◆ EpsilonCompare< aiQuatKey >()

template<>
bool EpsilonCompare< aiQuatKey > ( const aiQuatKey n,
const aiQuatKey s,
ai_real  epsilon 
)

◆ EpsilonCompare< aiVectorKey >()

template<>
bool EpsilonCompare< aiVectorKey > ( const aiVectorKey n,
const aiVectorKey s,
ai_real  epsilon 
)

◆ ProcessArray()

template<typename T >
bool ProcessArray ( T *&  in,
unsigned int  num,
const char *  name,
const std::vector< bool > &  dirtyMask,
bool  mayBeIdentical = false,
bool  mayBeZero = true 
)
inline

◆ UpdateMeshReferences()

void UpdateMeshReferences ( aiNode node,
const std::vector< unsigned int > &  meshMapping 
)

◆ ValidateArrayContents()

template<typename T >
const char* ValidateArrayContents ( const T *  ,
unsigned int  ,
const std::vector< bool > &  ,
bool  ,
bool   
)
inline

◆ ValidateArrayContents< aiVector3D >()

template<>
const char* ValidateArrayContents< aiVector3D > ( const aiVector3D arr,
unsigned int  size,
const std::vector< bool > &  dirtyMask,
bool  mayBeIdentical,
bool  mayBeZero 
)
inline