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