deal2lkit: A ToolKit library for Deal.II
assimp_interface.cc File Reference
#include <deal2lkit/assimp_interface.h>
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <deal.II/grid/grid_in.h>
#include <deal.II/grid/grid_reordering.h>
#include <deal.II/grid/grid_tools.h>

Go to the source code of this file.

Namespaces

 AssimpInterface
 

Macros

#define AI_CONFIG_PP_RVC_FLAGS
 

Functions

template<int dim, int spacedim>
bool AssimpInterface::generate_triangulation (const std::string filename, Triangulation< dim, spacedim > &tria, int mesh_index=-1, bool remove_duplicates=true, double tol=1e-12)
 Read in a file supported by Assimp, and generate a Triangulation out of it. More...
 
template bool AssimpInterface::generate_triangulation (const string, Triangulation< 1, 1 > &, int, bool, double)
 
template bool AssimpInterface::generate_triangulation (const string, Triangulation< 1, 2 > &, int, bool, double)
 
template bool AssimpInterface::generate_triangulation (const string, Triangulation< 1, 3 > &, int, bool, double)
 
template bool AssimpInterface::generate_triangulation (const string, Triangulation< 2, 2 > &, int, bool, double)
 
template bool AssimpInterface::generate_triangulation (const string, Triangulation< 2, 3 > &, int, bool, double)
 

Macro Definition Documentation

§ AI_CONFIG_PP_RVC_FLAGS

#define AI_CONFIG_PP_RVC_FLAGS
Value:
aiComponent_NORMALS | \
aiComponent_TANGENTS_AND_BITANGENTS | \
aiComponent_COLORS | \
aiComponent_TEXCOORDS | \
aiComponent_BONEWEIGHTS | \
aiComponent_ANIMATIONS | \
aiComponent_TEXTURES | \
aiComponent_LIGHTS | \
aiComponent_CAMERAS | \
aiComponent_MATERIALS

Definition at line 30 of file assimp_interface.cc.