38 #ifndef HPP_FCL_MESH_LOADER_LOADER_H 39 #define HPP_FCL_MESH_LOADER_LOADER_H 41 #include <boost/shared_ptr.hpp> 43 #include <hpp/fcl/config.hh> 58 const Vec3f& scale = Vec3f::Ones());
89 : filename (f), scale (s) {}
93 typedef std::map <Key, BVHModelPtr_t>
Cache_t;
95 const Cache_t
cache ()
const {
return cache_; }
103 #endif // FCL_MESH_LOADER_LOADER_H std::map< Key, BVHModelPtr_t > Cache_t
Definition: loader.h:93
virtual ~MeshLoader()
Definition: loader.h:55
CachedMeshLoader(const NODE_TYPE &bvType=BV_OBBRSS)
Definition: loader.h:79
MeshLoader(const NODE_TYPE &bvType=BV_OBBRSS)
Definition: loader.h:64
Definition: collision_object.h:56
virtual BVHModelPtr_t load(const std::string &filename, const Vec3f &scale=Vec3f::Ones())
Main namespace.
Definition: AABB.h:43
virtual CollisionGeometryPtr_t loadOctree(const std::string &filename)
boost::shared_ptr< CollisionGeometry > CollisionGeometryPtr_t
Definition: fwd.hh:47
std::string filename
Definition: loader.h:85
virtual ~CachedMeshLoader()
Definition: loader.h:77
Key(const std::string &f, const Vec3f &s)
Definition: loader.h:88
const Cache_t cache() const
Definition: loader.h:95
boost::shared_ptr< BVHModelBase > BVHModelPtr_t
Definition: fwd.hh:55
NODE_TYPE
traversal node type: bounding volume (AABB, OBB, RSS, kIOS, OBBRSS, KDOP16, KDOP18, kDOP24), basic shape (box, sphere, capsule, cone, cylinder, convex, plane, triangle), and octree
Definition: collision_object.h:56
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
Definition: data_types.h:73
Vec3f scale
Definition: loader.h:86