17 #ifndef HPP_CORBASERVER_OBJECT_MAP_HH 18 # define HPP_CORBASERVER_OBJECT_MAP_HH 20 # include <pinocchio/fwd.hpp> 21 # include <hpp/fcl/BVH/BVH_model.h> 22 # include <hpp/fcl/shape/geometric_shapes.h> 25 # include <hpp/common-idl.hh> 28 namespace corbaServer {
44 std::vector <fcl::Vec3f>
pts;
45 std::vector <fcl::Triangle>
tris;
48 typedef std::map <std::string, BasicShapePtr_t>
ShapeMap_t;
62 template <GeomType geomType, ThrowType throwType>
63 bool nameExists (
const std::string& name)
const;
73 #endif // HPP_CORBASERVER_OBJECT_MAP_HH Definition: object-map.hh:43
std::map< std::string, BasicShapePtr_t > ShapeMap_t
Definition: object-map.hh:48
Implement CORBA interface ``Obstacle''.
unsigned long long size_t
Definition: paths.idl:18
std::size_t addTriangle(const std::string polyhedronName, std::size_t pt1, std::size_t pt2, std::size_t pt3)
bool nameExists(const std::string &name) const
pinocchio::value_type value_type
Definition: fwd.hh:80
void createBox(const std::string boxName, value_type x, value_type y, value_type z)
Definition: object-map.hh:51
Definition: object-map.hh:58
Definition: object-map.hh:57
Definition: object-map.hh:53
Definition: object-map.hh:52
void createSphere(const std::string name, value_type radius)
void createCylinder(const std::string name, value_type radius, value_type length)
CollisionGeometryPtr_t geometry(const std::string name)
ThrowType
Definition: object-map.hh:56
GeomType
Definition: object-map.hh:50
Definition: object-map.hh:59
void createPolyhedron(const std::string polyhedronName)
Definition: object-map.hh:29
std::size_t addPoint(const std::string polyhedronName, value_type x, value_type y, value_type z)
std::vector< fcl::Triangle > tris
Definition: object-map.hh:45
std::map< std::string, PolyhedronData > PolyhedronMap_t
Definition: object-map.hh:47
boost::shared_ptr< CollisionGeometry_t > CollisionGeometryPtr_t
Definition: fwd.hh:39
ShapeMap_t shapeMap_
Map of basic shapes.
Definition: object-map.hh:66
PolyhedronMap_t polyhedronMap_
Map of polyhedra in construction.
Definition: object-map.hh:68
std::vector< fcl::Vec3f > pts
Definition: object-map.hh:44