38 #ifndef FCL_SHAPE_GEOMETRICSHAPETOBVHMODEL_H 39 #define FCL_SHAPE_GEOMETRICSHAPETOBVHMODEL_H 41 #include "fcl/geometry/bvh/BVH_model.h" 42 #include "fcl/geometry/shape/box.h" 43 #include "fcl/geometry/shape/capsule.h" 44 #include "fcl/geometry/shape/cone.h" 45 #include "fcl/geometry/shape/convex.h" 46 #include "fcl/geometry/shape/cylinder.h" 47 #include "fcl/geometry/shape/ellipsoid.h" 48 #include "fcl/geometry/shape/halfspace.h" 49 #include "fcl/geometry/shape/plane.h" 50 #include "fcl/geometry/shape/sphere.h" 51 #include "fcl/geometry/shape/triangle_p.h" 58 void generateBVHModel(BVHModel<BV>& model,
const Box<typename BV::S>& shape,
const Transform3<typename BV::S>& pose);
62 void generateBVHModel(BVHModel<BV>& model,
const Sphere<typename BV::S>& shape,
const Transform3<typename BV::S>& pose,
unsigned int seg,
unsigned int ring);
68 void generateBVHModel(BVHModel<BV>& model,
const Sphere<typename BV::S>& shape,
const Transform3<typename BV::S>& pose,
unsigned int n_faces_for_unit_sphere);
72 void generateBVHModel(BVHModel<BV>& model,
const Ellipsoid<typename BV::S>& shape,
const Transform3<typename BV::S>& pose,
unsigned int seg,
unsigned int ring);
79 void generateBVHModel(BVHModel<BV>& model,
const Ellipsoid<typename BV::S>& shape,
const Transform3<typename BV::S>& pose,
unsigned int n_faces_for_unit_ellipsoid);
83 void generateBVHModel(BVHModel<BV>& model,
const Cylinder<typename BV::S>& shape,
const Transform3<typename BV::S>& pose,
unsigned int tot,
unsigned int h_num);
89 void generateBVHModel(BVHModel<BV>& model,
const Cylinder<typename BV::S>& shape,
const Transform3<typename BV::S>& pose,
unsigned int tot_for_unit_cylinder);
93 void generateBVHModel(BVHModel<BV>& model,
const Cone<typename BV::S>& shape,
const Transform3<typename BV::S>& pose,
unsigned int tot,
unsigned int h_num);
99 void generateBVHModel(BVHModel<BV>& model,
const Cone<typename BV::S>& shape,
const Transform3<typename BV::S>& pose,
unsigned int tot_for_unit_cone);
103 #include "fcl/geometry/geometric_shape_to_BVH_model-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45
void generateBVHModel(BVHModel< BV > &model, const Box< typename BV::S > &shape, const Transform3< typename BV::S > &pose)
Generate BVH model from box.
Definition: geometric_shape_to_BVH_model-inl.h:48