13 #ifndef OMPLAPP_GEOMETRY_DETAIL_ASSIMP_UTIL_
14 #define OMPLAPP_GEOMETRY_DETAIL_ASSIMP_UTIL_
20 #include "omplapp/config.h"
21 #include <assimp/scene.h>
22 #include <assimp/cimport.h>
23 #include <assimp/postprocess.h>
24 #include <ompl/base/spaces/RealVectorBounds.h>
37 void inferBounds(base::RealVectorBounds &bounds,
const std::vector<aiVector3D> &vertices,
double multiply = 1.1,
double add = 0.0);
38 void extractTriangles(
const aiScene *scene, std::vector<aiVector3D> &triangles);
39 void extractVertices(
const aiScene *scene, std::vector<aiVector3D> &vertices);
40 double shortestEdge(
const aiScene *scene);
41 void sceneCenter(
const aiScene *scene, aiVector3D ¢er);