Base interface for BV splitting algorithm. More...
#include <BV_splitter_base.h>
Public Types | |
using | S = typename BV::S |
Public Member Functions | |
virtual bool | apply (const Vector3< S > &q) const =0 |
Apply the split rule on a given point. More... | |
virtual void | clear ()=0 |
Clear the geometry data set before. 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 void | set (Vector3< S > *vertices_, Triangle *tri_indices_, BVHModelType type_)=0 |
Set the geometry data needed by the split rule. More... | |
Base interface for BV splitting algorithm.
Definition at line 56 of file BV_splitter_base.h.
using fcl::detail::BVSplitterBase< BV >::S = typename BV::S |
Definition at line 60 of file BV_splitter_base.h.
|
pure virtual |
Apply the split rule on a given point.
Implemented in fcl::detail::BVSplitter< BV >.
|
pure virtual |
Clear the geometry data set before.
Implemented in fcl::detail::BVSplitter< BV >.
|
pure virtual |
Compute the split rule according to a subset of geometry and the corresponding BV node.
Implemented in fcl::detail::BVSplitter< BV >.
|
pure virtual |
Set the geometry data needed by the split rule.
Implemented in fcl::detail::BVSplitter< BV >.