#include <assimp/DefaultLogger.h>
#include <assimp/assimp.hpp>
#include <assimp/IOStream.h>
#include <assimp/IOSystem.h>
#include <assimp/aiScene.h>
#include <assimp/aiPostProcess.h>
#include <hpp/fcl/BV/OBBRSS.h>
#include <hpp/fcl/BVH/BVH_model.h>
Classes | |
struct | fcl::TriangleAndVertices |
Namespaces | |
namespace | fcl |
Main namespace. | |
Functions | |
template<class BoundingVolume > | |
void | fcl::meshFromAssimpScene (const std::string &name, const fcl::Vec3f &scale, const aiScene *scene, const boost::shared_ptr< BVHModel< BoundingVolume > > &mesh) throw (std::invalid_argument) |
Convert an assimp scene to a mesh. | |
template<class BoundingVolume > | |
void | fcl::buildMesh (const fcl::Vec3f &scale, const aiScene *scene, const aiNode *node, std::vector< unsigned > &subMeshIndexes, const boost::shared_ptr< BVHModel< BoundingVolume > > &mesh, TriangleAndVertices &tv) |
Recursive procedure for building a mesh. | |
template<class BoundingVolume > | |
void | fcl::loadPolyhedronFromResource (const std::string &resource_path, const fcl::Vec3f &scale, const boost::shared_ptr< BVHModel< BoundingVolume > > &polyhedron) throw (std::invalid_argument) |
Read a mesh file and convert it to a polyhedral mesh. |