Specification of BVFitter for kIOS bounding volume. More...
#include <BV_fitter.h>
Public Member Functions | |
kIOS | fit (unsigned int *primitive_indices, unsigned int num_primitives) |
Compute a bounding volume that fits a set of primitives (points or triangles). The primitive data was set by set function and primitive_indices is the primitive index relative to the data. More... | |
Public Member Functions inherited from coal::BVFitterTpl< kIOS > | |
void | clear () |
Clear the geometry primitive data. 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... | |
Additional Inherited Members | |
Protected Attributes inherited from coal::BVFitterTpl< kIOS > | |
Vec3s * | prev_vertices |
Triangle * | tri_indices |
BVHModelType | type |
Vec3s * | vertices |
Specification of BVFitter for kIOS bounding volume.
Definition at line 190 of file coal/internal/BV_fitter.h.
|
virtual |
Compute a bounding volume that fits a set of primitives (points or triangles). The primitive data was set by set function and primitive_indices is the primitive index relative to the data.
Implements coal::BVFitterTpl< kIOS >.
Definition at line 562 of file BV_fitter.cpp.