#include <BV_splitter.h>
Public Types | |
typedef hpp::fcl::BVSplitter< BV > | Base |
Public Attributes | |
int | split_axis |
The axis based on which the split decision is made. For most BV, the axis is aligned with one of the world coordinate, so only split_axis is needed. For oriented node, we can use a vector to make a better split decision. More... | |
SplitMethodType | split_method |
The split algorithm used. More... | |
FCL_REAL | split_value |
The split threshold, different primitives are splitted according whether their projection on the split_axis is larger or smaller than the threshold. More... | |
Vec3f | split_vector |
Triangle * | tri_indices |
The triangles handled by the splitter. More... | |
BVHModelType | type |
Whether the geometry is mesh or point cloud. More... | |
Vec3f * | vertices |
The mesh vertices or points handled by the splitter. More... | |
Additional Inherited Members | |
Public Member Functions inherited from hpp::fcl::BVSplitter< BV > | |
bool | apply (const Vec3f &q) const |
Apply the split rule on a given point. More... | |
bool HPP_FCL_DLLAPI | apply (const Vec3f &q) const |
bool HPP_FCL_DLLAPI | apply (const Vec3f &q) const |
bool HPP_FCL_DLLAPI | apply (const Vec3f &q) const |
bool HPP_FCL_DLLAPI | apply (const Vec3f &q) const |
bool | apply (const Vec3f &q) const |
bool | apply (const Vec3f &q) const |
bool | apply (const Vec3f &q) const |
bool | apply (const Vec3f &q) const |
BVSplitter (SplitMethodType method) | |
void | clear () |
Clear the geometry data set before. More... | |
void | computeRule (const BV &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
Compute the split rule according to a subset of geometry and the corresponding BV node. More... | |
void | set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_) |
Set the geometry data needed by the split rule. More... | |
virtual | ~BVSplitter () |
Default deconstructor. More... | |
Protected Member Functions inherited from hpp::fcl::BVSplitter< BV > | |
void | computeRule_bvcenter (const BV &bv, unsigned int *, unsigned int) |
Split algorithm 1: Split the node from center. More... | |
void | computeRule_bvcenter (const kIOS &bv, unsigned int *, unsigned int) |
void HPP_FCL_DLLAPI | computeRule_bvcenter (const kIOS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_bvcenter (const OBB &bv, unsigned int *, unsigned int) |
void HPP_FCL_DLLAPI | computeRule_bvcenter (const OBB &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_bvcenter (const OBBRSS &bv, unsigned int *, unsigned int) |
void HPP_FCL_DLLAPI | computeRule_bvcenter (const OBBRSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_bvcenter (const RSS &bv, unsigned int *, unsigned int) |
void HPP_FCL_DLLAPI | computeRule_bvcenter (const RSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_mean (const BV &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
Split algorithm 2: Split the node according to the mean of the data contained. More... | |
void | computeRule_mean (const kIOS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void HPP_FCL_DLLAPI | computeRule_mean (const kIOS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_mean (const OBB &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void HPP_FCL_DLLAPI | computeRule_mean (const OBB &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_mean (const OBBRSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void HPP_FCL_DLLAPI | computeRule_mean (const OBBRSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_mean (const RSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void HPP_FCL_DLLAPI | computeRule_mean (const RSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_median (const BV &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
Split algorithm 3: Split the node according to the median of the data contained. More... | |
void | computeRule_median (const kIOS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void HPP_FCL_DLLAPI | computeRule_median (const kIOS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_median (const OBB &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void HPP_FCL_DLLAPI | computeRule_median (const OBB &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_median (const OBBRSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void HPP_FCL_DLLAPI | computeRule_median (const OBBRSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void | computeRule_median (const RSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
void HPP_FCL_DLLAPI | computeRule_median (const RSS &bv, unsigned int *primitive_indices, unsigned int num_primitives) |
Protected Attributes inherited from hpp::fcl::BVSplitter< BV > | |
int | split_axis |
The axis based on which the split decision is made. For most BV, the axis is aligned with one of the world coordinate, so only split_axis is needed. For oriented node, we can use a vector to make a better split decision. More... | |
SplitMethodType | split_method |
The split algorithm used. More... | |
FCL_REAL | split_value |
The split threshold, different primitives are splitted according whether their projection on the split_axis is larger or smaller than the threshold. More... | |
Vec3f | split_vector |
Triangle * | tri_indices |
The triangles handled by the splitter. More... | |
BVHModelType | type |
Whether the geometry is mesh or point cloud. More... | |
Vec3f * | vertices |
The mesh vertices or points handled by the splitter. More... | |
Definition at line 17 of file serialization/BV_splitter.h.
typedef hpp::fcl::BVSplitter<BV> boost::serialization::internal::BVSplitterAccessor< BV >::Base |
Definition at line 18 of file serialization/BV_splitter.h.
int hpp::fcl::BVSplitter< BV >::split_axis |
The axis based on which the split decision is made. For most BV, the axis is aligned with one of the world coordinate, so only split_axis is needed. For oriented node, we can use a vector to make a better split decision.
Definition at line 108 of file internal/BV_splitter.h.
SplitMethodType hpp::fcl::BVSplitter< BV >::split_method |
The split algorithm used.
Definition at line 126 of file internal/BV_splitter.h.
FCL_REAL hpp::fcl::BVSplitter< BV >::split_value |
The split threshold, different primitives are splitted according whether their projection on the split_axis is larger or smaller than the threshold.
Definition at line 114 of file internal/BV_splitter.h.
Vec3f hpp::fcl::BVSplitter< BV >::split_vector |
Definition at line 109 of file internal/BV_splitter.h.
Triangle* hpp::fcl::BVSplitter< BV >::tri_indices |
The triangles handled by the splitter.
Definition at line 120 of file internal/BV_splitter.h.
BVHModelType hpp::fcl::BVSplitter< BV >::type |
Whether the geometry is mesh or point cloud.
Definition at line 123 of file internal/BV_splitter.h.
Vec3f* hpp::fcl::BVSplitter< BV >::vertices |
The mesh vertices or points handled by the splitter.
Definition at line 117 of file internal/BV_splitter.h.