38 #ifndef HPP_FCL_BVH_UTILITY_H
39 #define HPP_FCL_BVH_UTILITY_H
47 template <
typename BV>
88 unsigned int* indices,
unsigned int n,
100 unsigned int* indices,
unsigned int n,
112 unsigned int* indices,
unsigned int n,
A class describing the AABB collision structure, which is a box in 3D space determined by two diagona...
Definition: AABB.h:56
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...
Definition: BVH_model.h:315
KDOP class describes the KDOP collision structures. K is set as the template parameter,...
Definition: kDOP.h:92
Triangle with 3 indices for points.
Definition: data_types.h:101
#define HPP_FCL_DLLAPI
Definition: config.hh:88
Eigen::Matrix< FCL_REAL, 3, 3 > Matrix3f
Definition: data_types.h:71
Eigen::Matrix< FCL_REAL, 3, 1 > Vec3f
Definition: data_types.h:67
BVHModel< BV > * BVHExtract(const BVHModel< BV > &model, const Transform3f &pose, const AABB &aabb)
Extract the part of the BVHModel that is inside an AABB. A triangle in collision with the AABB is con...
FCL_REAL maximumDistance(Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, unsigned int n, const Vec3f &query)
Compute the maximum distance from a given center point to a point cloud.
void getRadiusAndOriginAndRectangleSize(Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, unsigned int n, const Matrix3f &axes, Vec3f &origin, FCL_REAL l[2], FCL_REAL &r)
Compute the RSS bounding volume parameters: radius, rectangle size and the origin,...
void circumCircleComputation(const Vec3f &a, const Vec3f &b, const Vec3f &c, Vec3f ¢er, FCL_REAL &radius)
Compute the center and radius for a triangle's circumcircle.
double FCL_REAL
Definition: data_types.h:66
void getCovariance(Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, unsigned int n, Matrix3f &M)
Compute the covariance matrix for a set or subset of points. if ts = null, then indices refer to poin...
void getExtentAndCenter(Vec3f *ps, Vec3f *ps2, Triangle *ts, unsigned int *indices, unsigned int n, Matrix3f &axes, Vec3f ¢er, Vec3f &extent)
Compute the bounding volume extent and center for a set or subset of points, given the BV axises.
Main namespace.
Definition: broadphase_bruteforce.h:44