Assimp  v3.1.1 (June 2014)
FindInvalidDataProcess.cpp File Reference

Functions

template<typename T >
bool AllIdentical (T *in, unsigned int num, float epsilon)
 
template<typename T >
AI_FORCE_INLINE bool EpsilonCompare (const T &n, const T &s, float epsilon)
 
AI_FORCE_INLINE bool EpsilonCompare (float n, float s, float epsilon)
 
template<>
bool EpsilonCompare< aiQuatKey > (const aiQuatKey &n, const aiQuatKey &s, float epsilon)
 
template<>
bool EpsilonCompare< aiVectorKey > (const aiVectorKey &n, const aiVectorKey &s, float 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 *arr, unsigned int size, const std::vector< bool > &dirtyMask, bool mayBeIdentical=false, bool mayBeZero=true)
 
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,
float  epsilon 
)
inline

◆ EpsilonCompare() [1/2]

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

◆ EpsilonCompare() [2/2]

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

◆ EpsilonCompare< aiQuatKey >()

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

◆ EpsilonCompare< aiVectorKey >()

template<>
bool EpsilonCompare< aiVectorKey > ( const aiVectorKey n,
const aiVectorKey s,
float  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 *  arr,
unsigned int  size,
const std::vector< bool > &  dirtyMask,
bool  mayBeIdentical = false,
bool  mayBeZero = true 
)
inline

◆ ValidateArrayContents< aiVector3D >()

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