Macros | Functions | Variables
eus_assimp.cpp File Reference
#include <Importer.hpp>
#include <Exporter.hpp>
#include <postprocess.h>
#include <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"
Include dependency graph for eus_assimp.cpp:

Go to the source code of this file.

Macros

#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, int direc, 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, int direc)
 

Variables

static pointer K_AMBIENT
 
static pointer K_DIFFUSE
 
static pointer K_EMISSION
 
static pointer K_FILENAME
 
static pointer K_HEIGHT
 
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_TEXCOORDS
 
static pointer K_TRANSPARENCY
 
static pointer K_TRIANGLES
 
static pointer K_TYPE
 
static pointer K_VERTICES
 
static pointer K_WIDTH
 

Macro Definition Documentation

#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.

Function Documentation

pointer ___eus_assimp ( register context ctx,
int  n,
pointer argv,
pointer  env 
)

Definition at line 1469 of file eus_assimp.cpp.

pointer ASSIMP_DESCRIBE ( register context ctx,
int  n,
pointer argv 
)

Definition at line 1225 of file eus_assimp.cpp.

pointer CONVEX_DECOMP_GL_VERTICES ( register context ctx,
int  n,
pointer argv 
)

Definition at line 1000 of file eus_assimp.cpp.

pointer DUMP_GL_VERTICES ( register context ctx,
int  n,
pointer argv 
)

Definition at line 707 of file eus_assimp.cpp.

pointer GET_MESHES ( register context ctx,
int  n,
pointer argv 
)

Definition at line 566 of file eus_assimp.cpp.

static std::string primitiveType ( unsigned int  tp)
static

Definition at line 69 of file eus_assimp.cpp.

static void printMaterial ( aiMaterial *  material,
unsigned int  idx 
)
static

Definition at line 128 of file eus_assimp.cpp.

static void printMesh ( aiMesh *  mesh,
std::string  prefix 
)
static

Definition at line 87 of file eus_assimp.cpp.

static void printNode ( aiNode *  node,
std::string  prefix 
)
static

Definition at line 108 of file eus_assimp.cpp.

static void printTransform ( aiMatrix4x4 &  transform,
std::string  prefix 
)
static

Definition at line 101 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,
int  direc,
std::vector< pointer > &  mesh_info 
)
static

Definition at line 534 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,
int  direc 
)
static

Definition at line 144 of file eus_assimp.cpp.

Variable Documentation

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_FILENAME
static

Definition at line 66 of file eus_assimp.cpp.

pointer K_HEIGHT
static

Definition at line 67 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_TEXCOORDS
static

Definition at line 64 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.

pointer K_WIDTH
static

Definition at line 67 of file eus_assimp.cpp.



eus_assimp
Author(s): Yohei Kakiuchi
autogenerated on Thu Feb 14 2019 03:38:56