Go to the documentation of this file.
38 #ifndef HPP_FCL_GEOMETRIC_SHAPES_UTILITY_H
39 #define HPP_FCL_GEOMETRIC_SHAPES_UTILITY_H
54 const Transform3f& tf);
56 const Transform3f& tf);
57 HPP_FCL_DLLAPI std::vector<Vec3f>
getBoundVertices(
const Ellipsoid& ellipsoid,
58 const Transform3f& tf);
60 const Transform3f& tf);
62 const Transform3f& tf);
64 const Transform3f& tf);
66 const Transform3f& tf);
67 HPP_FCL_DLLAPI std::vector<Vec3f>
getBoundVertices(
const TriangleP& triangle,
68 const Transform3f& tf);
73 template <
typename BV,
typename S>
76 fit(&convex_bound_vertices[0], (
unsigned int)convex_bound_vertices.size(),
86 const Transform3f& tf, AABB& bv);
90 const Transform3f& tf, AABB& bv);
94 const Transform3f& tf, AABB& bv);
102 const Transform3f& tf, AABB& bv);
106 const Transform3f& tf,
111 const Transform3f& tf, AABB& bv);
115 const Transform3f& tf, AABB& bv);
119 const Transform3f& tf, AABB& bv);
127 const Transform3f& tf, OBB& bv);
131 const Transform3f& tf, OBB& bv);
139 const Transform3f& tf, OBB& bv);
143 const Transform3f& tf, OBB& bv);
147 const Transform3f& tf, OBB& bv);
151 const Transform3f& tf, RSS& bv);
155 const Transform3f& tf,
160 const Transform3f& tf, kIOS& bv);
163 HPP_FCL_DLLAPI
void computeBV<KDOP<16>, Halfspace>(
const Halfspace& s,
164 const Transform3f& tf,
168 HPP_FCL_DLLAPI
void computeBV<KDOP<18>, Halfspace>(
const Halfspace& s,
169 const Transform3f& tf,
173 HPP_FCL_DLLAPI
void computeBV<KDOP<24>, Halfspace>(
const Halfspace& s,
174 const Transform3f& tf,
187 const Transform3f& tf, OBBRSS& bv);
191 const Transform3f& tf, kIOS& bv);
194 HPP_FCL_DLLAPI
void computeBV<KDOP<16>, Plane>(
const Plane& s,
195 const Transform3f& tf,
199 HPP_FCL_DLLAPI
void computeBV<KDOP<18>, Plane>(
const Plane& s,
200 const Transform3f& tf,
204 HPP_FCL_DLLAPI
void computeBV<KDOP<24>, Plane>(
const Plane& s,
205 const Transform3f& tf,
210 HPP_FCL_DLLAPI
void constructBox(
const AABB& bv, Box&
box, Transform3f& tf);
212 HPP_FCL_DLLAPI
void constructBox(
const OBB& bv, Box&
box, Transform3f& tf);
214 HPP_FCL_DLLAPI
void constructBox(
const OBBRSS& bv, Box&
box, Transform3f& tf);
216 HPP_FCL_DLLAPI
void constructBox(
const kIOS& bv, Box&
box, Transform3f& tf);
218 HPP_FCL_DLLAPI
void constructBox(
const RSS& bv, Box&
box, Transform3f& tf);
220 HPP_FCL_DLLAPI
void constructBox(
const KDOP<16>& bv, Box&
box, Transform3f& tf);
222 HPP_FCL_DLLAPI
void constructBox(
const KDOP<18>& bv, Box&
box, Transform3f& tf);
224 HPP_FCL_DLLAPI
void constructBox(
const KDOP<24>& bv, Box&
box, Transform3f& tf);
226 HPP_FCL_DLLAPI
void constructBox(
const AABB& bv,
const Transform3f& tf_bv,
227 Box&
box, Transform3f& tf);
229 HPP_FCL_DLLAPI
void constructBox(
const OBB& bv,
const Transform3f& tf_bv,
230 Box&
box, Transform3f& tf);
232 HPP_FCL_DLLAPI
void constructBox(
const OBBRSS& bv,
const Transform3f& tf_bv,
233 Box&
box, Transform3f& tf);
235 HPP_FCL_DLLAPI
void constructBox(
const kIOS& bv,
const Transform3f& tf_bv,
236 Box&
box, Transform3f& tf);
238 HPP_FCL_DLLAPI
void constructBox(
const RSS& bv,
const Transform3f& tf_bv,
239 Box&
box, Transform3f& tf);
241 HPP_FCL_DLLAPI
void constructBox(
const KDOP<16>& bv,
const Transform3f& tf_bv,
242 Box&
box, Transform3f& tf);
244 HPP_FCL_DLLAPI
void constructBox(
const KDOP<18>& bv,
const Transform3f& tf_bv,
245 Box&
box, Transform3f& tf);
247 HPP_FCL_DLLAPI
void constructBox(
const KDOP<24>& bv,
const Transform3f& tf_bv,
248 Box&
box, Transform3f& tf);
250 HPP_FCL_DLLAPI Halfspace
transform(
const Halfspace& a,
const Transform3f& tf);
252 HPP_FCL_DLLAPI Plane
transform(
const Plane& a,
const Transform3f& tf);
HPP_FCL_DLLAPI void computeBV< AABB, TriangleP >(const TriangleP &s, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI Halfspace transform(const Halfspace &a, const Transform3f &tf)
HPP_FCL_DLLAPI void computeBV< AABB, Box >(const Box &s, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI void computeBV< OBB, Sphere >(const Sphere &s, const Transform3f &tf, OBB &bv)
HPP_FCL_DLLAPI void computeBV< AABB, Sphere >(const Sphere &s, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI void computeBV< OBB, Halfspace >(const Halfspace &s, const Transform3f &tf, OBB &bv)
HPP_FCL_DLLAPI void computeBV< OBBRSS, Halfspace >(const Halfspace &s, const Transform3f &tf, OBBRSS &bv)
HPP_FCL_DLLAPI void computeBV< OBB, Cone >(const Cone &s, const Transform3f &tf, OBB &bv)
void computeBV(const S &s, const Transform3f &tf, BV &bv)
calculate a bounding volume for a shape in a specific configuration
HPP_FCL_DLLAPI void computeBV< kIOS, Halfspace >(const Halfspace &s, const Transform3f &tf, kIOS &bv)
HPP_FCL_DLLAPI void computeBV< AABB, Cylinder >(const Cylinder &s, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI void computeBV< OBB, Cylinder >(const Cylinder &s, const Transform3f &tf, OBB &bv)
void fit(Vec3f *ps, unsigned int n, BV &bv)
Compute a bounding volume that fits a set of n points.
HPP_FCL_DLLAPI void computeBV< OBB, Capsule >(const Capsule &s, const Transform3f &tf, OBB &bv)
HPP_FCL_DLLAPI void computeBV< RSS, Plane >(const Plane &s, const Transform3f &tf, RSS &bv)
HPP_FCL_DLLAPI void computeBV< OBB, ConvexBase >(const ConvexBase &s, const Transform3f &tf, OBB &bv)
HPP_FCL_DLLAPI void computeBV< AABB, Ellipsoid >(const Ellipsoid &e, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI void constructBox(const AABB &bv, Box &box, Transform3f &tf)
construct a box shape (with a configuration) from a given bounding volume
HPP_FCL_DLLAPI void computeBV< AABB, Cone >(const Cone &s, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI void computeBV< AABB, Halfspace >(const Halfspace &s, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI void computeBV< OBB, Box >(const Box &s, const Transform3f &tf, OBB &bv)
HPP_FCL_DLLAPI void computeBV< OBB, Plane >(const Plane &s, const Transform3f &tf, OBB &bv)
HPP_FCL_DLLAPI void computeBV< AABB, Plane >(const Plane &s, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI void computeBV< RSS, Halfspace >(const Halfspace &s, const Transform3f &tf, RSS &bv)
HPP_FCL_DLLAPI void computeBV< kIOS, Plane >(const Plane &s, const Transform3f &tf, kIOS &bv)
HPP_FCL_DLLAPI void computeBV< AABB, ConvexBase >(const ConvexBase &s, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI void computeBV< AABB, Capsule >(const Capsule &s, const Transform3f &tf, AABB &bv)
HPP_FCL_DLLAPI void computeBV< OBBRSS, Plane >(const Plane &s, const Transform3f &tf, OBBRSS &bv)
std::vector< Vec3f > getBoundVertices(const Box &box, const Transform3f &tf)
hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:13