coal  3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
coal::CachedMeshLoader Class Reference

#include <coal/mesh_loader/loader.h>

Inheritance diagram for coal::CachedMeshLoader:
Collaboration diagram for coal::CachedMeshLoader:

Classes

struct  Key
 
struct  Value
 

Public Types

typedef std::map< Key, ValueCache_t
 

Public Member Functions

virtual ~CachedMeshLoader ()
 
 CachedMeshLoader (const NODE_TYPE &bvType=BV_OBBRSS)
 
virtual BVHModelPtr_t load (const std::string &filename, const Vec3s &scale)
 
const Cache_tcache () const
 
- Public Member Functions inherited from coal::MeshLoader
virtual ~MeshLoader ()
 
virtual CollisionGeometryPtr_t loadOctree (const std::string &filename)
 
 MeshLoader (const NODE_TYPE &bvType=BV_OBBRSS)
 

Detailed Description

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.

Member Typedef Documentation

◆ Cache_t

Constructor & Destructor Documentation

◆ ~CachedMeshLoader()

virtual coal::CachedMeshLoader::~CachedMeshLoader ( )
inlinevirtual

◆ CachedMeshLoader()

coal::CachedMeshLoader::CachedMeshLoader ( const NODE_TYPE bvType = BV_OBBRSS)
inline

Member Function Documentation

◆ cache()

const Cache_t& coal::CachedMeshLoader::cache ( ) const
inline

◆ load()

virtual BVHModelPtr_t coal::CachedMeshLoader::load ( const std::string &  filename,
const Vec3s scale 
)
virtual

Reimplemented from coal::MeshLoader.


The documentation for this class was generated from the following file: