hpp-fcl  2.4.1
HPP fork of FCL -- The Flexible Collision Library
hpp::fcl::internal Namespace Reference

Classes

struct  Loader
 
struct  memory_footprint_evaluator
 
struct  memory_footprint_evaluator< ::hpp::fcl::BVHModel< BV > >
 
struct  TriangleAndVertices
 

Functions

void updateDistanceLowerBoundFromBV (const CollisionRequest &, CollisionResult &res, const FCL_REAL &sqrDistLowerBound)
 
void updateDistanceLowerBoundFromLeaf (const CollisionRequest &, CollisionResult &res, const FCL_REAL &distance, const Vec3f &p0, const Vec3f &p1)
 
void buildMesh (const fcl::Vec3f &scale, const aiScene *scene, unsigned vertices_offset, TriangleAndVertices &tv)
 Recursive procedure for building a mesh. More...
 
template<class BoundingVolume >
void meshFromAssimpScene (const fcl::Vec3f &scale, const aiScene *scene, const shared_ptr< BVHModel< BoundingVolume > > &mesh)
 Convert an assimp scene to a mesh. More...
 

Function Documentation

◆ buildMesh()

void hpp::fcl::internal::buildMesh ( const fcl::Vec3f scale,
const aiScene *  scene,
unsigned  vertices_offset,
TriangleAndVertices tv 
)

Recursive procedure for building a mesh.

Parameters
[in]scaleScale to apply when reading the ressource
[in]scenePointer to the assimp scene
[in]vertices_offsetCurrent number of vertices in the model
tvTriangles and Vertices of the mesh submodels

◆ meshFromAssimpScene()

template<class BoundingVolume >
void hpp::fcl::internal::meshFromAssimpScene ( const fcl::Vec3f scale,
const aiScene *  scene,
const shared_ptr< BVHModel< BoundingVolume > > &  mesh 
)
inline

Convert an assimp scene to a mesh.

Parameters
[in]scaleScale to apply when reading the ressource
[in]scenePointer to the assimp scene
[out]meshThe mesh that must be built

◆ updateDistanceLowerBoundFromBV()

void hpp::fcl::internal::updateDistanceLowerBoundFromBV ( const CollisionRequest ,
CollisionResult res,
const FCL_REAL sqrDistLowerBound 
)
inline

◆ updateDistanceLowerBoundFromLeaf()

void hpp::fcl::internal::updateDistanceLowerBoundFromLeaf ( const CollisionRequest ,
CollisionResult res,
const FCL_REAL distance,
const Vec3f p0,
const Vec3f p1 
)
inline