#include <loader.h>
Classes | |
struct | Key |
struct | Value |
Public Types | |
typedef std::map< Key, Value > | Cache_t |
Public Member Functions | |
const Cache_t & | cache () const |
CachedMeshLoader (const NODE_TYPE &bvType=BV_OBBRSS) | |
virtual BVHModelPtr_t | load (const std::string &filename, const Vec3s &scale) |
virtual | ~CachedMeshLoader () |
Public Member Functions inherited from coal::MeshLoader | |
virtual CollisionGeometryPtr_t | loadOctree (const std::string &filename) |
MeshLoader (const NODE_TYPE &bvType=BV_OBBRSS) | |
virtual | ~MeshLoader () |
Private Attributes | |
Cache_t | cache_ |
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.
Definition at line 73 of file coal/mesh_loader/loader.h.
typedef std::map<Key, Value> coal::CachedMeshLoader::Cache_t |
Definition at line 93 of file coal/mesh_loader/loader.h.
|
inlinevirtual |
Definition at line 75 of file coal/mesh_loader/loader.h.
Definition at line 77 of file coal/mesh_loader/loader.h.
|
inline |
Definition at line 95 of file coal/mesh_loader/loader.h.
|
virtual |
Reimplemented from coal::MeshLoader.
Definition at line 102 of file loader.cpp.
|
private |
Definition at line 98 of file coal/mesh_loader/loader.h.