hpp-fcl: hpp::fcl::CachedMeshLoader Class Reference

hpp-fcl 1.8.0 HPP fork of FCL -- The Flexible Collision Library

Classes | Public Types | Public Member Functions | List of all members
hpp::fcl::CachedMeshLoader Class Reference

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

Inheritance diagram for hpp::fcl::CachedMeshLoader:

## Classes
struct | Key

## Public Types
typedef std::map< Key, BVHModelPtr_t > | Cache_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

typedef std::map<Key, BVHModelPtr_t> hpp::fcl::CachedMeshLoader::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:

- include/hpp/fcl/mesh_loader/loader.h