38 #ifndef FCL_BV_FITTER_H 39 #define FCL_BV_FITTER_H 42 #include "fcl/math/triangle.h" 43 #include "fcl/math/bv/kIOS.h" 44 #include "fcl/math/bv/OBBRSS.h" 45 #include "fcl/geometry/bvh/BVH_internal.h" 46 #include "fcl/geometry/bvh/detail/BV_fitter_base.h" 55 template <
typename BV>
60 using S =
typename BVFitterBase<BV>::S;
71 Vector3<S>* vertices_,
72 Vector3<S>* prev_vertices_,
78 BV
fit(
unsigned int* primitive_indices,
int num_primitives);
86 Vector3<S>* prev_vertices;
90 template <
typename,
typename>
93 template <
typename,
typename>
100 #include "fcl/geometry/bvh/detail/BV_fitter-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45
BVHModelType
BVH model type.
Definition: BVH_internal.h:75
virtual ~BVFitter()
default deconstructor
Definition: BV_fitter-inl.h:51
Definition: BV_fitter-inl.h:84
Definition: BV_fitter-inl.h:58
Triangle with 3 indices for points.
Definition: triangle.h:47
Interface for fitting a bv given the triangles or points inside it.
Definition: BV_fitter_base.h:55
BV fit(unsigned int *primitive_indices, int num_primitives)
Compute a bounding volume that fits a set of primitives (points or triangles). The primitive data was...
Definition: BV_fitter-inl.h:88
void clear()
Clear the geometry primitive data.
Definition: BV_fitter-inl.h:96
The class for the default algorithm fitting a bounding volume to a set of points. ...
Definition: BV_fitter.h:56