|
hpp-fcl
1.6.0
HPP fork of FCL -- The Flexible Collision Library
|
Go to the documentation of this file.
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>
60 const Vec3f& scale = Vec3f::Ones());
86 struct HPP_FCL_DLLAPI
Key {
91 : filename (f), scale (s) {}
95 typedef std::map <Key, BVHModelPtr_t>
Cache_t;
105 #endif // FCL_MESH_LOADER_LOADER_H
std::string filename
Definition: loader.h:87
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
Definition: data_types.h:67
MeshLoader(const NODE_TYPE &bvType=BV_OBBRSS)
Definition: loader.h:66
virtual BVHModelPtr_t load(const std::string &filename, const Vec3f &scale)
virtual ~CachedMeshLoader()
Definition: loader.h:79
virtual CollisionGeometryPtr_t loadOctree(const std::string &filename)
NODE_TYPE
traversal node type: bounding volume (AABB, OBB, RSS, kIOS, OBBRSS, KDOP16, KDOP18,...
Definition: collision_object.h:56
Vec3f scale
Definition: loader.h:88
std::map< Key, BVHModelPtr_t > Cache_t
Definition: loader.h:95
boost::shared_ptr< CollisionGeometry > CollisionGeometryPtr_t
Definition: fwd.hh:49
Key(const std::string &f, const Vec3f &s)
Definition: loader.h:90
Main namespace.
Definition: AABB.h:44
const Cache_t cache() const
Definition: loader.h:97
virtual BVHModelPtr_t load(const std::string &filename, const Vec3f &scale=Vec3f::Ones())
boost::shared_ptr< BVHModelBase > BVHModelPtr_t
Definition: fwd.hh:57
CachedMeshLoader(const NODE_TYPE &bvType=BV_OBBRSS)
Definition: loader.h:81
@ BV_OBBRSS
Definition: collision_object.h:56
virtual ~MeshLoader()
Definition: loader.h:57