A class describing the split rule that splits each BV node. More...
#include <hpp/fcl/BVH/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 |
Apply the split rule on a given point. More... | |
template<> | |
bool | apply (const Vec3f &q) const |
Apply the split rule on a given point. More... | |
template<> | |
bool | apply (const Vec3f &q) const |
Apply the split rule on a given point. More... | |
template<> | |
bool | apply (const Vec3f &q) const |
Apply the split rule on a given point. More... | |
A class describing the split rule that splits each BV node.
|
inline |
|
inlinevirtual |
Default deconstructor.
|
inlinevirtual |
Apply the split rule on a given point.
Implements hpp::fcl::BVSplitterBase< BV >.
Referenced by hpp::fcl::BVSplitter< BV >::clear().
|
virtual |
Apply the split rule on a given point.
Implements hpp::fcl::BVSplitterBase< BV >.
|
virtual |
Apply the split rule on a given point.
Implements hpp::fcl::BVSplitterBase< BV >.
|
virtual |
Apply the split rule on a given point.
Implements hpp::fcl::BVSplitterBase< BV >.
|
virtual |
Apply the split rule on a given point.
Implements hpp::fcl::BVSplitterBase< BV >.
|
inlinevirtual |
Clear the geometry data set before.
Implements hpp::fcl::BVSplitterBase< BV >.
References hpp::fcl::BVSplitter< BV >::apply(), hpp::fcl::BVH_MODEL_POINTCLOUD, hpp::fcl::BVH_MODEL_TRIANGLES, and hpp::fcl::BVH_MODEL_UNKNOWN.
|
inlinevirtual |
Compute the split rule according to a subset of geometry and the corresponding BV node.
Implements hpp::fcl::BVSplitterBase< BV >.
References hpp::fcl::SPLIT_METHOD_MEAN, and hpp::fcl::SPLIT_METHOD_MEDIAN.
|
inlinevirtual |
Set the geometry data needed by the split rule.
Implements hpp::fcl::BVSplitterBase< BV >.