Class for building polyhedron from files with cache mechanism. More...
#include <hpp/fcl/mesh_loader/loader.h>
Classes | |
struct | Key |
Public Types | |
typedef std::map< Key, CollisionGeometryPtr_t > | Cache_t |
Public Member Functions | |
virtual | ~CachedMeshLoader () |
CachedMeshLoader (const NODE_TYPE &bvType=BV_OBBRSS) | |
CollisionGeometryPtr_t | load (const std::string &filename, const Vec3f &scale, const NODE_TYPE &bvType) HPP_FCL_DEPRECATED |
virtual CollisionGeometryPtr_t | load (const std::string &filename, const Vec3f &scale) |
const Cache_t | cache () const |
![]() | |
virtual | ~MeshLoader () |
CollisionGeometryPtr_t | load (const std::string &filename, const Vec3f &scale, const NODE_TYPE &bvType) HPP_FCL_DEPRECATED |
MeshLoader (const NODE_TYPE &bvType=BV_OBBRSS) | |
Class for building polyhedron from files with cache mechanism.
This class builds a new object for each different file. If method CachedMeshLoader::load is called twice with the same arguments, the second call returns the result of the first call.
typedef std::map<Key, CollisionGeometryPtr_t> hpp::fcl::CachedMeshLoader::Cache_t |
|
inlinevirtual |
|
inline |
|
inline |
bvType | ignored |
References hpp::fcl::MeshLoader::load().
|
virtual |
Reimplemented from hpp::fcl::MeshLoader.