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 (Vec3s *vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting. More... | |
void | set (Vec3s *vertices_, Vec3s *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 | |
Vec3s * | prev_vertices |
Triangle * | tri_indices |
BVHModelType | type |
Vec3s * | vertices |
The class for the default algorithm fitting a bounding volume to a set of points.
Definition at line 76 of file coal/internal/BV_fitter.h.
|
inlinevirtual |
default deconstructor
Definition at line 79 of file coal/internal/BV_fitter.h.
|
inline |
Clear the geometry primitive data.
Definition at line 104 of file coal/internal/BV_fitter.h.
|
pure virtual |
Compute the fitting BV.
Implemented in coal::BVFitter< AABB >, coal::BVFitter< OBBRSS >, coal::BVFitter< kIOS >, coal::BVFitter< RSS >, and coal::BVFitter< OBB >.
|
inline |
Prepare the geometry primitive data for fitting.
Definition at line 82 of file coal/internal/BV_fitter.h.
|
inline |
Prepare the geometry primitive data for fitting, for deformable mesh.
Definition at line 91 of file coal/internal/BV_fitter.h.
|
protected |
Definition at line 113 of file coal/internal/BV_fitter.h.
|
protected |
Definition at line 114 of file coal/internal/BV_fitter.h.
|
protected |
Definition at line 115 of file coal/internal/BV_fitter.h.
|
protected |
Definition at line 112 of file coal/internal/BV_fitter.h.