hpp-fcl  1.4.4
HPP fork of FCL -- The Flexible Collision Library
hpp::fcl::CachedMeshLoader Class Reference

#include <hpp/fcl/mesh_loader/loader.h>

Inheritance diagram for hpp::fcl::CachedMeshLoader:
Collaboration diagram for hpp::fcl::CachedMeshLoader:

Classes

struct  Key
 

Public Types

typedef std::map< Key, BVHModelPtr_tCache_t
 

Public Member Functions

virtual ~CachedMeshLoader ()
 
 CachedMeshLoader (const NODE_TYPE &bvType=BV_OBBRSS)
 
virtual BVHModelPtr_t load (const std::string &filename, const Vec3f &scale)
 
const Cache_t cache () const
 
- Public Member Functions inherited from hpp::fcl::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 hpp::fcl::CachedMeshLoader::~CachedMeshLoader ( )
inlinevirtual

◆ CachedMeshLoader()

hpp::fcl::CachedMeshLoader::CachedMeshLoader ( const NODE_TYPE bvType = BV_OBBRSS)
inline

Member Function Documentation

◆ cache()

const Cache_t hpp::fcl::CachedMeshLoader::cache ( ) const
inline

◆ load()

virtual BVHModelPtr_t hpp::fcl::CachedMeshLoader::load ( const std::string &  filename,
const Vec3f scale 
)
virtual

Reimplemented from hpp::fcl::MeshLoader.


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