FCL
0.6.0
Flexible Collision Library
|
Base interface for BV splitting algorithm. More...
#include <BV_splitter_base.h>
Public Types | |
using | S = typename BV::S |
Public Member Functions | |
virtual void | set (Vector3< S > *vertices_, Triangle *tri_indices_, BVHModelType type_)=0 |
Set the geometry data needed by the split rule. | |
virtual void | computeRule (const BV &bv, unsigned int *primitive_indices, int num_primitives)=0 |
Compute the split rule according to a subset of geometry and the corresponding BV node. | |
virtual bool | apply (const Vector3< S > &q) const =0 |
Apply the split rule on a given point. | |
virtual void | clear ()=0 |
Clear the geometry data set before. | |
Base interface for BV splitting algorithm.