38 #ifndef FCL_BV_FITTERBASE_H 39 #define FCL_BV_FITTERBASE_H 41 #include "fcl/math/triangle.h" 42 #include "fcl/geometry/bvh/BVH_internal.h" 43 #include "fcl/math/bv/kIOS.h" 44 #include "fcl/math/bv/OBBRSS.h" 54 template <
typename BV>
59 using S =
typename BV::S;
65 virtual void set(Vector3<S>* vertices_, Vector3<S>* prev_vertices_,
Triangle* tri_indices_,
BVHModelType type_) = 0;
68 virtual BV
fit(
unsigned int* primitive_indices,
int num_primitives) = 0;
71 virtual void clear() = 0;
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
BVHModelType
BVH model type.
Definition: BVH_internal.h:75
virtual void clear()=0
clear the temporary data generated.
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
virtual BV fit(unsigned int *primitive_indices, int num_primitives)=0
Compute the fitting BV.