coal
3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
|
Classes | |
struct | TriangleAndVertices |
struct | Loader |
struct | memory_footprint_evaluator<::coal::BVHModel< BV > > |
struct | memory_footprint_evaluator |
Functions | |
void | updateDistanceLowerBoundFromBV (const CollisionRequest &, CollisionResult &res, const Scalar sqrDistLowerBound) |
void | updateDistanceLowerBoundFromLeaf (const CollisionRequest &, CollisionResult &res, const Scalar &distance, const Vec3s &p0, const Vec3s &p1, const Vec3s &normal) |
void | buildMesh (const coal::Vec3s &scale, const aiScene *scene, unsigned vertices_offset, TriangleAndVertices &tv) |
Recursive procedure for building a mesh. More... | |
template<class BoundingVolume > | |
void | meshFromAssimpScene (const coal::Vec3s &scale, const aiScene *scene, const shared_ptr< BVHModel< BoundingVolume > > &mesh) |
Convert an assimp scene to a mesh. More... | |
void coal::internal::buildMesh | ( | const coal::Vec3s & | 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 |
|
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 |
|
inline |
|
inline |