hpp-fcl: hpp::fcl::internal Namespace Reference

hpp-fcl 1.8.0 HPP fork of FCL -- The Flexible Collision Library

Classes | Functions
hpp::fcl::internal Namespace Reference

## Classes
struct | Loader
struct | memory_footprint_evaluator
struct | memory_footprint_evaluator< ::hpp::fcl::BVHModel< BV > >
struct | TriangleAndVertices

## Functions
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] | scale | Scale to apply when reading the ressource
  [in] | scene | Pointer to the assimp scene
  [in] | vertices_offset | Current number of vertices in the model
  | tv | Triangles 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] | scale | Scale to apply when reading the ressource
  [in] | scene | Pointer to the assimp scene
  [out] | mesh | The mesh that must be built