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

Class for building polyhedron from files with cache mechanism. More...

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

Inheritance diagram for hpp::fcl::CachedMeshLoader:
[legend]
Collaboration diagram for hpp::fcl::CachedMeshLoader:
[legend]

Classes

struct  Key
 

Public Types

typedef std::map< Key, CollisionGeometryPtr_tCache_t
 

Public Member Functions

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

Constructor & Destructor Documentation

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

Member Function Documentation

const Cache_t hpp::fcl::CachedMeshLoader::cache ( ) const
inline
CollisionGeometryPtr_t hpp::fcl::CachedMeshLoader::load ( const std::string &  filename,
const Vec3f scale,
const NODE_TYPE bvType 
)
inline
virtual CollisionGeometryPtr_t hpp::fcl::CachedMeshLoader::load ( const std::string &  filename,
const Vec3f scale 
)
virtual

Reimplemented from hpp::fcl::MeshLoader.