A class describing the split rule that splits each BV node. More...
#include <hpp/fcl/internal/BV_splitter.h>
Public Member Functions | |
BVSplitter (SplitMethodType method) | |
virtual | ~BVSplitter () |
Default deconstructor. More... | |
void | set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_) |
Set the geometry data needed by the split rule. More... | |
void | computeRule (const BV &bv, unsigned int *primitive_indices, int num_primitives) |
Compute the split rule according to a subset of geometry and the corresponding BV node. More... | |
bool | apply (const Vec3f &q) const |
Apply the split rule on a given point. More... | |
void | clear () |
Clear the geometry data set before. More... | |
template<> | |
bool | apply (const Vec3f &q) const |
template<> | |
bool | apply (const Vec3f &q) const |
template<> | |
bool | apply (const Vec3f &q) const |
template<> | |
bool | apply (const Vec3f &q) const |
A class describing the split rule that splits each BV node.
|
inline |
|
inlinevirtual |
Default deconstructor.
|
inline |
Apply the split rule on a given point.
Referenced by hpp::fcl::BVSplitter< BV >::clear().
bool hpp::fcl::BVSplitter< OBB >::apply | ( | const Vec3f & | q | ) | const |
bool hpp::fcl::BVSplitter< RSS >::apply | ( | const Vec3f & | q | ) | const |
bool hpp::fcl::BVSplitter< kIOS >::apply | ( | const Vec3f & | q | ) | const |
bool hpp::fcl::BVSplitter< OBBRSS >::apply | ( | const Vec3f & | q | ) | const |
|
inline |
Clear the geometry data set before.
References hpp::fcl::BVSplitter< BV >::apply(), hpp::fcl::BVH_MODEL_POINTCLOUD, hpp::fcl::BVH_MODEL_TRIANGLES, and hpp::fcl::BVH_MODEL_UNKNOWN.
|
inline |
Compute the split rule according to a subset of geometry and the corresponding BV node.
References hpp::fcl::SPLIT_METHOD_BV_CENTER, hpp::fcl::SPLIT_METHOD_MEAN, and hpp::fcl::SPLIT_METHOD_MEDIAN.
|
inline |
Set the geometry data needed by the split rule.