#include <assimp3/Importer.hpp>#include <assimp3/Exporter.hpp>#include <assimp3/postprocess.h>#include <assimp3/scene.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <string.h>#include <signal.h>#include <math.h>#include <time.h>#include <pthread.h>#include <setjmp.h>#include <errno.h>#include <list>#include <vector>#include <set>#include <string>#include <map>#include <sstream>#include <cstdio>#include <iostream>#include "eus.h"
Go to the source code of this file.
Defines | |
| #define | class eus_class |
| #define | complex eus_complex |
| #define | export eus_export |
| #define | iostream eus_iostream |
| #define | SIZE_T_MAX (std::numeric_limits<size_t>::max()) |
| #define | string eus_string |
| #define | throw eus_throw |
| #define | vector eus_vector |
Functions | |
| pointer | ___eus_assimp (register context *ctx, int n, pointer *argv, pointer env) |
| pointer | ASSIMP_DESCRIBE (register context *ctx, int n, pointer *argv) |
| pointer | CONVEX_DECOMP_GL_VERTICES (register context *ctx, int n, pointer *argv) |
| pointer | DUMP_GL_VERTICES (register context *ctx, int n, pointer *argv) |
| pointer | GET_MESHES (register context *ctx, int n, pointer *argv) |
| static std::string | primitiveType (unsigned int tp) |
| static void | printMaterial (aiMaterial *material, unsigned int idx) |
| static void | printMesh (aiMesh *mesh, std::string prefix) |
| static void | printNode (aiNode *node, std::string prefix) |
| static void | printTransform (aiMatrix4x4 &transform, std::string prefix) |
| static void | register_all_nodes (register context *ctx, eusfloat_t base_scl, const aiScene *scene, const aiNode *node, const aiMatrix4x4 &parent_world_trans, std::vector< pointer > &mesh_info) |
| void | register_eus_assimp () |
| static pointer | store_mesh_info (register context *ctx, eusfloat_t base_scl, const aiScene *scene, const aiNode *node, const aiMesh *amesh, const aiMatrix4x4 &trans) |
Variables | |
| static pointer | K_AMBIENT |
| static pointer | K_DIFFUSE |
| static pointer | K_EMISSION |
| static pointer | K_INDICES |
| static pointer | K_LINES |
| static pointer | K_MATERIAL |
| static pointer | K_NAME |
| static pointer | K_NORMALS |
| static pointer | K_POLYGON |
| static pointer | K_QUADS |
| static pointer | K_SHININESS |
| static pointer | K_SPECULAR |
| static pointer | K_TRANSPARENCY |
| static pointer | K_TRIANGLES |
| static pointer | K_TYPE |
| static pointer | K_VERTICES |
| #define class eus_class |
Definition at line 38 of file eus_assimp.cpp.
| #define complex eus_complex |
Definition at line 44 of file eus_assimp.cpp.
| #define export eus_export |
Definition at line 40 of file eus_assimp.cpp.
| #define iostream eus_iostream |
Definition at line 43 of file eus_assimp.cpp.
| #define SIZE_T_MAX (std::numeric_limits<size_t>::max()) |
Definition at line 62 of file eus_assimp.cpp.
| #define string eus_string |
Definition at line 42 of file eus_assimp.cpp.
| #define throw eus_throw |
Definition at line 39 of file eus_assimp.cpp.
| #define vector eus_vector |
Definition at line 41 of file eus_assimp.cpp.
| pointer ___eus_assimp | ( | register context * | ctx, |
| int | n, | ||
| pointer * | argv, | ||
| pointer | env | ||
| ) |
Definition at line 1088 of file eus_assimp.cpp.
| pointer ASSIMP_DESCRIBE | ( | register context * | ctx, |
| int | n, | ||
| pointer * | argv | ||
| ) |
Definition at line 1037 of file eus_assimp.cpp.
| pointer CONVEX_DECOMP_GL_VERTICES | ( | register context * | ctx, |
| int | n, | ||
| pointer * | argv | ||
| ) |
Definition at line 850 of file eus_assimp.cpp.
| pointer DUMP_GL_VERTICES | ( | register context * | ctx, |
| int | n, | ||
| pointer * | argv | ||
| ) |
Definition at line 593 of file eus_assimp.cpp.
| pointer GET_MESHES | ( | register context * | ctx, |
| int | n, | ||
| pointer * | argv | ||
| ) |
Definition at line 455 of file eus_assimp.cpp.
| static std::string primitiveType | ( | unsigned int | tp | ) | [static] |
Definition at line 68 of file eus_assimp.cpp.
| static void printMaterial | ( | aiMaterial * | material, |
| unsigned int | idx | ||
| ) | [static] |
Definition at line 127 of file eus_assimp.cpp.
| static void printMesh | ( | aiMesh * | mesh, |
| std::string | prefix | ||
| ) | [static] |
Definition at line 86 of file eus_assimp.cpp.
| static void printNode | ( | aiNode * | node, |
| std::string | prefix | ||
| ) | [static] |
Definition at line 107 of file eus_assimp.cpp.
| static void printTransform | ( | aiMatrix4x4 & | transform, |
| std::string | prefix | ||
| ) | [static] |
Definition at line 100 of file eus_assimp.cpp.
| static void register_all_nodes | ( | register context * | ctx, |
| eusfloat_t | base_scl, | ||
| const aiScene * | scene, | ||
| const aiNode * | node, | ||
| const aiMatrix4x4 & | parent_world_trans, | ||
| std::vector< pointer > & | mesh_info | ||
| ) | [static] |
Definition at line 423 of file eus_assimp.cpp.
| void register_eus_assimp | ( | ) |
Definition at line 49 of file eus_assimp.cpp.
| static pointer store_mesh_info | ( | register context * | ctx, |
| eusfloat_t | base_scl, | ||
| const aiScene * | scene, | ||
| const aiNode * | node, | ||
| const aiMesh * | amesh, | ||
| const aiMatrix4x4 & | trans | ||
| ) | [static] |
Definition at line 143 of file eus_assimp.cpp.
pointer K_AMBIENT [static] |
Definition at line 66 of file eus_assimp.cpp.
pointer K_DIFFUSE [static] |
Definition at line 66 of file eus_assimp.cpp.
pointer K_EMISSION [static] |
Definition at line 66 of file eus_assimp.cpp.
pointer K_INDICES [static] |
Definition at line 64 of file eus_assimp.cpp.
pointer K_LINES [static] |
Definition at line 65 of file eus_assimp.cpp.
pointer K_MATERIAL [static] |
Definition at line 64 of file eus_assimp.cpp.
pointer K_NAME [static] |
Definition at line 65 of file eus_assimp.cpp.
pointer K_NORMALS [static] |
Definition at line 64 of file eus_assimp.cpp.
pointer K_POLYGON [static] |
Definition at line 65 of file eus_assimp.cpp.
pointer K_QUADS [static] |
Definition at line 65 of file eus_assimp.cpp.
pointer K_SHININESS [static] |
Definition at line 66 of file eus_assimp.cpp.
pointer K_SPECULAR [static] |
Definition at line 66 of file eus_assimp.cpp.
pointer K_TRANSPARENCY [static] |
Definition at line 66 of file eus_assimp.cpp.
pointer K_TRIANGLES [static] |
Definition at line 65 of file eus_assimp.cpp.
pointer K_TYPE [static] |
Definition at line 64 of file eus_assimp.cpp.
pointer K_VERTICES [static] |
Definition at line 64 of file eus_assimp.cpp.