Base interface for BV splitting algorithm. More...
#include <hpp/fcl/BVH/BV_splitter.h>
Public Member Functions | |
virtual void | set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_)=0 |
Set the geometry data needed by the split rule. More... | |
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. More... | |
virtual bool | apply (const Vec3f &q) const =0 |
Apply the split rule on a given point. More... | |
virtual void | clear ()=0 |
Clear the geometry data set before. More... | |
Base interface for BV splitting algorithm.
|
pure virtual |
Apply the split rule on a given point.
Implemented in hpp::fcl::BVSplitter< BV >, hpp::fcl::BVSplitter< BV >, hpp::fcl::BVSplitter< BV >, hpp::fcl::BVSplitter< BV >, and hpp::fcl::BVSplitter< BV >.
|
pure virtual |
Clear the geometry data set before.
Implemented in hpp::fcl::BVSplitter< BV >.
|
pure virtual |
Compute the split rule according to a subset of geometry and the corresponding BV node.
Implemented in hpp::fcl::BVSplitter< BV >.
|
pure virtual |
Set the geometry data needed by the split rule.
Implemented in hpp::fcl::BVSplitter< BV >.