Classes | |
struct | Loader |
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 boost::shared_ptr< BVHModel< BoundingVolume > > &mesh) |
Convert an assimp scene to a mesh. More... | |
void hpp::fcl::internal::buildMesh | ( | const fcl::Vec3f & | scale, |
const aiScene * | scene, | ||
unsigned | vertices_offset, | ||
TriangleAndVertices & | tv | ||
) |
Recursive procedure for building a mesh.
[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 |
Referenced by meshFromAssimpScene().
|
inline |
Convert an assimp scene to a mesh.
[in] | scale | Scale to apply when reading the ressource |
[in] | scene | Pointer to the assimp scene |
[out] | mesh | The mesh that must be built |
References buildMesh(), hpp::fcl::BVH_OK, hpp::fcl::internal::TriangleAndVertices::triangles_, and hpp::fcl::internal::TriangleAndVertices::vertices_.
Referenced by hpp::fcl::loadPolyhedronFromResource().