The class for the default algorithm fitting a bounding volume to a set of points. More...
#include <BV_fitter.h>
Public Member Functions | |
void | clear () |
Clear the geometry primitive data. More... | |
virtual BV | fit (unsigned int *primitive_indices, unsigned int num_primitives)=0 |
Compute the fitting BV. More... | |
void | set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting. More... | |
void | set (Vec3f *vertices_, Vec3f *prev_vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting, for deformable mesh. More... | |
virtual | ~BVFitterTpl () |
default deconstructor More... | |
Protected Attributes | |
Vec3f * | prev_vertices |
Triangle * | tri_indices |
BVHModelType | type |
Vec3f * | vertices |
The class for the default algorithm fitting a bounding volume to a set of points.
Definition at line 77 of file BV_fitter.h.
|
inlinevirtual |
default deconstructor
Definition at line 80 of file BV_fitter.h.
|
inline |
Clear the geometry primitive data.
Definition at line 105 of file BV_fitter.h.
|
pure virtual |
Compute the fitting BV.
Implemented in hpp::fcl::BVFitter< AABB >, hpp::fcl::BVFitter< OBBRSS >, hpp::fcl::BVFitter< kIOS >, hpp::fcl::BVFitter< RSS >, and hpp::fcl::BVFitter< OBB >.
|
inline |
Prepare the geometry primitive data for fitting.
Definition at line 83 of file BV_fitter.h.
|
inline |
Prepare the geometry primitive data for fitting, for deformable mesh.
Definition at line 92 of file BV_fitter.h.
|
protected |
Definition at line 114 of file BV_fitter.h.
|
protected |
Definition at line 115 of file BV_fitter.h.
|
protected |
Definition at line 116 of file BV_fitter.h.
|
protected |
Definition at line 113 of file BV_fitter.h.