|
std::string | ai_stdStrToLower (const std::string &str) |
|
ASSIMP_API void | aiAssertViolation (const char *failedExpression, const char *file, int line) |
| Dispatches an assert violation to the assert handler.
|
|
ASSIMP_API aiAnimMesh * | aiCreateAnimMesh (const aiMesh *mesh, bool needPositions=true, bool needNormals=true, bool needTangents=true, bool needColors=true, bool needTexCoords=true) |
| Create aiAnimMesh from aiMesh.
|
|
unsigned int | ASSIMP_itoa10 (char *out, unsigned int max, int32_t number) |
| itoa with a fixed base 10 'itoa' is not consistently available on all platforms so it is quite useful to have a small replacement function here.
|
|
template<size_t length> |
unsigned int | ASSIMP_itoa10 (char(&out)[length], int32_t number) |
| itoa with a fixed base 10 (Secure template overload) The compiler should choose this function if he or she is able to determine the size of the array automatically.
|
|
int | ASSIMP_stricmp (const char *s1, const char *s2) |
| Helper function to do platform independent string comparison.
|
|
int | ASSIMP_stricmp (const std::string &a, const std::string &b) |
| Case independent comparison of two std::strings.
|
|
int | ASSIMP_strincmp (const char *s1, const char *s2, unsigned int n) |
| Helper function to do platform independent string comparison.
|
|
AI_WONT_RETURN ASSIMP_API void | defaultAiAssertHandler (const char *failedExpression, const char *file, int line) AI_WONT_RETURN_SUFFIX |
| The assert handler which is set by default.
|
|
template<typename ExceptionType = DeadlyImportError> |
ai_real | fast_atof (const char **inout) |
|
template<typename ExceptionType = DeadlyImportError> |
ai_real | fast_atof (const char *c) |
|
template<typename ExceptionType = DeadlyImportError> |
ai_real | fast_atof (const char *c, const char **cout) |
|
template<typename Real , typename ExceptionType = DeadlyImportError> |
const char * | fast_atoreal_move (const char *c, Real &out, bool check_comma=true) |
| Provides a fast function for converting a string into a float, about 6 times faster than atof in win32.
|
|
template<class char_t > |
AI_FORCE_INLINE bool | GetNextLine (const char_t *&buffer, char_t out[BufferSize]) |
|
AI_FORCE_INLINE std::string | GetNextToken (const char *&in, const char *end) |
|
unsigned int | HexDigitToDecimal (char in) |
|
uint8_t | HexOctetToDecimal (const char *in) |
|
unsigned int | integer_pow (unsigned int base, unsigned int power) |
| Evaluates an integer power.
|
|
static AI_FORCE_INLINE bool | isEndOfCache (size_t pos, size_t cacheSize) |
|
template<class char_t > |
AI_FORCE_INLINE bool | IsLineEnd (char_t in) |
|
template<class char_t > |
AI_FORCE_INLINE bool | IsLower (char_t in) |
|
template<class char_t > |
AI_FORCE_INLINE bool | IsNumeric (char_t in) |
|
template<class char_t > |
AI_FORCE_INLINE bool | IsSpace (char_t in) |
|
template<class char_t > |
AI_FORCE_INLINE bool | IsSpaceOrNewLine (char_t in) |
|
template<class char_t > |
AI_FORCE_INLINE bool | IsUpper (char_t in) |
|
AI_FORCE_INLINE Vertex | operator* (ai_real f, const Vertex &v0) |
|
AI_FORCE_INLINE Vertex | operator* (const Vertex &v0, ai_real f) |
|
AI_FORCE_INLINE Vertex | operator+ (const Vertex &v0, const Vertex &v1) |
|
AI_FORCE_INLINE Vertex | operator- (const Vertex &v0, const Vertex &v1) |
|
AI_FORCE_INLINE Vertex | operator/ (const Vertex &v0, ai_real f) |
|
ASSIMP_API void | setAiAssertHandler (AiAssertHandler handler) |
| Set the assert handler.
|
|
template<class char_t > |
AI_FORCE_INLINE bool | SkipLine (const char_t **inout, const char_t *end) |
|
template<class char_t > |
AI_FORCE_INLINE bool | SkipLine (const char_t *in, const char_t **out, const char_t *end) |
|
template<class char_t > |
AI_FORCE_INLINE bool | SkipSpaces (const char_t **inout, const char_t *end) |
|
template<class char_t > |
AI_FORCE_INLINE bool | SkipSpaces (const char_t *in, const char_t **out, const char_t *end) |
|
template<class char_t > |
AI_FORCE_INLINE bool | SkipSpacesAndLineEnd (const char_t **inout, const char_t *end) |
|
template<class char_t > |
AI_FORCE_INLINE bool | SkipSpacesAndLineEnd (const char_t *in, const char_t **out, const char_t *end) |
|
AI_FORCE_INLINE void | SkipToken (const char *&in, const char *end) |
|
int | strtol10 (const char *in, const char **out=0) |
|
template<typename ExceptionType = DeadlyImportError> |
int64_t | strtol10_64 (const char *in, const char **out=0, unsigned int *max_inout=0) |
|
unsigned int | strtoul10 (const char *in, const char **out=0) |
|
template<typename ExceptionType = DeadlyImportError> |
uint64_t | strtoul10_64 (const char *in, const char **out=0, unsigned int *max_inout=0) |
|
unsigned int | strtoul16 (const char *in, const char **out=0) |
|
unsigned int | strtoul8 (const char *in, const char **out=0) |
|
unsigned int | strtoul_cppstyle (const char *in, const char **out=0) |
|
template<class string_type > |
AI_FORCE_INLINE unsigned int | tokenize (const string_type &str, std::vector< string_type > &tokens, const string_type &delimiters) |
| Will perform a simple tokenize.
|
|
template<class char_t > |
AI_FORCE_INLINE bool | TokenMatch (char_t *&in, const char *token, unsigned int len) |
|
AI_FORCE_INLINE bool | TokenMatchI (const char *&in, const char *token, unsigned int len) |
| Case-ignoring version of TokenMatch.
|
|
std::string | XMLEscape (const std::string &data) |
|
Some C++ utilities for inter- and extrapolation.
Assimp's CPP-API and all internal APIs.
CPP-API: The Exporter class forms an C++ interface to the export functionality of the Open Asset Import Library.
Note that the export interface is available only if Assimp has been built with ASSIMP_BUILD_NO_EXPORT not defined.
The interface is modeled after the importer interface and mostly symmetric. The same rules for threading etc. apply.
In a nutshell, there are two export interfaces: #Export, which writes the output file(s) either to the regular file system or to a user-supplied #IOSystem, and #ExportToBlob which returns a linked list of memory buffers (blob), each referring to one output file (in most cases there will be only one output file of course, but this extra complexity is needed since Assimp aims at supporting a wide range of file formats).
#ExportToBlob is especially useful if you intend to work with the data in-memory.