|
void | AddBoneChildren (aiNode *pcNode, uint32_t iParent) |
| Add all children of a bone as subnodes to a node. More...
|
|
void | CreateOutputAnimation (int index, const std::string &name) |
|
void | CreateOutputAnimations (const std::string &pFile, IOSystem *pIOHandler) |
|
void | CreateOutputMaterials () |
|
void | CreateOutputMeshes () |
| Build output meshes/materials/nodes/animations. More...
|
|
void | CreateOutputNodes () |
|
void | FixTimeValues () |
| Fix invalid time values in the file. More...
|
|
void | GetAnimationFileList (const std::string &pFile, IOSystem *pIOHandler, std::vector< std::tuple< std::string, std::string >> &outList) |
|
const aiImporterDesc * | GetInfo () const |
| Return importer meta information. More...
|
|
unsigned int | GetTextureIndex (const std::string &filename) |
| Get the index of a texture. More...
|
|
void | InternReadFile (const std::string &pFile, aiScene *pScene, IOSystem *pIOHandler) |
| Imports the given file into the given scene structure. More...
|
|
void | LogErrorNoThrow (const char *msg) |
| Print a log message together with the current line number. More...
|
|
void | LogWarning (const char *msg) |
|
void | ParseFile () |
| Parse the SMD file and create the output scene. More...
|
|
bool | ParseFloat (const char *szCurrent, const char **szCurrentOut, float &out) |
| Parse a floating-point value. More...
|
|
void | ParseNodeInfo (const char *szCurrent, const char **szCurrentOut) |
| Parse a line in the nodes section. More...
|
|
void | ParseNodesSection (const char *szCurrent, const char **szCurrentOut) |
| Parse the nodes section of the SMD file. More...
|
|
bool | ParseSignedInt (const char *szCurrent, const char **szCurrentOut, int &out) |
| Parse a signed integer. More...
|
|
void | ParseSkeletonElement (const char *szCurrent, const char **szCurrentOut, int iTime) |
| Parse a line in the skeleton section. More...
|
|
void | ParseSkeletonSection (const char *szCurrent, const char **szCurrentOut) |
| Parse the skeleton section of the SMD file. More...
|
|
void | ParseTriangle (const char *szCurrent, const char **szCurrentOut) |
| Parse a single triangle in the SMD file. More...
|
|
void | ParseTrianglesSection (const char *szCurrent, const char **szCurrentOut) |
| Parse the triangles section of the SMD file. More...
|
|
bool | ParseUnsignedInt (const char *szCurrent, const char **szCurrentOut, unsigned int &out) |
| Parse an unsigned integer. More...
|
|
void | ParseVASection (const char *szCurrent, const char **szCurrentOut) |
| Parse the vertex animation section in VTA files. More...
|
|
void | ParseVertex (const char *szCurrent, const char **szCurrentOut, SMD::Vertex &vertex, bool bVASection=false) |
| Parse a single vertex in the SMD file. More...
|
|
void | ReadSmd (const std::string &pFile, IOSystem *pIOHandler) |
|
bool | SkipLine (const char *in, const char **out) |
|
bool | SkipSpacesAndLineEnd (const char *in, const char **out) |
|
|
enum | ImporterUnits {
M
, MM
, CM
, INCHES
,
FEET
} |
|
enum | TextFileMode { ALLOW_EMPTY
, FORBID_EMPTY
} |
| Enum to define, if empty files are ok or not. More...
|
|
static bool | CheckMagicToken (IOSystem *pIOHandler, const std::string &pFile, const void *magic, unsigned int num, unsigned int offset=0, unsigned int size=4) |
| Check whether a file starts with one or more magic tokens. More...
|
|
static void | ConvertToUTF8 (std::vector< char > &data) |
| An utility for all text file loaders. More...
|
|
static void | ConvertUTF8toISO8859_1 (std::string &data) |
| An utility for all text file loaders. More...
|
|
template<typename T > |
static AI_FORCE_INLINE void | CopyVector (std::vector< T > &vec, T *&out, unsigned int &outLength) |
| Utility function to move a std::vector into a aiScene array. More...
|
|
static std::string | GetExtension (const std::string &pFile) |
| Extract file extension from a string. More...
|
|
static bool | SearchFileHeaderForToken (IOSystem *pIOSystem, const std::string &file, const char **tokens, unsigned int numTokens, unsigned int searchBytes=200, bool tokensSol=false, bool noAlphaBeforeTokens=false) |
| A utility for CanRead(). More...
|
|
static bool | SimpleExtensionCheck (const std::string &pFile, const char *ext0, const char *ext1=NULL, const char *ext2=NULL) |
| Check whether a file has a specific file extension. More...
|
|
static void | TextFileToBuffer (IOStream *stream, std::vector< char > &data, TextFileMode mode=FORBID_EMPTY) |
| Utility for text file loaders which copies the contents of the file into a memory buffer and converts it to our UTF8 representation. More...
|
|
std::map< ImporterUnits, double > | importerUnits |
| Assimp Importer unit conversions available if you need another measurment unit add it below. More...
|
|
ImporterUnits | applicationUnits = ImporterUnits::M |
|
double | fileScale = 1.0 |
|
double | importerScale = 1.0 |
|
std::string | m_ErrorText |
| Error description in case there was one. More...
|
|
ProgressHandler * | m_progress |
| Currently set progress handler. More...
|
|
namespace SMD
Used to load Half-life 1 and 2 SMD models