Class CachedMeshLoader

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

Class Documentation

class CachedMeshLoader : public hpp::fcl::MeshLoader

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.

Public Types

typedef std::map<Key, Value> Cache_t

Public Functions

inline virtual ~CachedMeshLoader()
inline CachedMeshLoader(const NODE_TYPE &bvType = BV_OBBRSS)
virtual BVHModelPtr_t load(const std::string &filename, const Vec3f &scale)
inline const Cache_t &cache() const
struct Key

Public Functions

inline Key(const std::string &f, const Vec3f &s)
bool operator<(const CachedMeshLoader::Key &b) const

Public Members

std::string filename
Vec3f scale
struct Value

Public Members

BVHModelPtr_t model
std::time_t mtime