hpp-fcl
1.4.4
HPP fork of FCL -- The Flexible Collision Library
|
A class describing the split rule that splits each BV node. More...
#include <hpp/fcl/BVH/BVH_model.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.
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.
|
inline |
Compute the split rule according to a subset of geometry and the corresponding BV node.
|
inline |
Set the geometry data needed by the split rule.