ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
FileASSIMP.cpp File Reference
#include <FileSystem.h>
#include <ImageIO.h>
#include <Logging.h>
#include <ProgressReporters.h>
#include <ecvPointCloud.h>
#include <fstream>
#include <numeric>
#include <vector>
#include "assimp/Importer.hpp"
#include "assimp/ProgressHandler.hpp"
#include "assimp/pbrmaterial.h"
#include "assimp/postprocess.h"
#include "assimp/scene.h"
#include "io/FileFormatIO.h"
#include "io/ModelIO.h"
#include "io/TriangleMeshIO.h"
#include "visualization/rendering/MaterialRecord.h"
#include "visualization/rendering/Model.h"
Include dependency graph for FileASSIMP.cpp:

Go to the source code of this file.

Classes

struct  cloudViewer::io::TextureImages
 

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::io
 

Macros

#define AI_MATKEY_CLEARCOAT_THICKNESS   "$mat.clearcoatthickness", 0, 0
 
#define AI_MATKEY_CLEARCOAT_ROUGHNESS   "$mat.clearcoatroughness", 0, 0
 
#define AI_MATKEY_SHEEN   "$mat.sheen", 0, 0
 
#define AI_MATKEY_ANISOTROPY   "$mat.anisotropy", 0, 0
 

Functions

void cloudViewer::io::LoadTextures (const std::string &filename, const aiScene *scene, const aiMaterial *mat, TextureImages &maps)
 
bool cloudViewer::io::ReadTriangleMeshUsingASSIMP (const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions &params)
 
bool cloudViewer::io::ReadModelUsingAssimp (const std::string &filename, visualization::rendering::TriangleMeshModel &model, const ReadTriangleModelOptions &params)
 

Variables

const unsigned int cloudViewer::io::kPostProcessFlags_compulsory
 
const unsigned int cloudViewer::io::kPostProcessFlags_fast
 

Macro Definition Documentation

◆ AI_MATKEY_ANISOTROPY

#define AI_MATKEY_ANISOTROPY   "$mat.anisotropy", 0, 0

Definition at line 32 of file FileASSIMP.cpp.

◆ AI_MATKEY_CLEARCOAT_ROUGHNESS

#define AI_MATKEY_CLEARCOAT_ROUGHNESS   "$mat.clearcoatroughness", 0, 0

Definition at line 30 of file FileASSIMP.cpp.

◆ AI_MATKEY_CLEARCOAT_THICKNESS

#define AI_MATKEY_CLEARCOAT_THICKNESS   "$mat.clearcoatthickness", 0, 0

Definition at line 29 of file FileASSIMP.cpp.

◆ AI_MATKEY_SHEEN

#define AI_MATKEY_SHEEN   "$mat.sheen", 0, 0

Definition at line 31 of file FileASSIMP.cpp.