hpp-fcl
1.4.4
HPP fork of FCL -- The Flexible Collision Library
|
Specification of BVFitter for OBB bounding volume. More...
#include <hpp/fcl/internal/BV_fitter.h>
Public Member Functions | |
OBB | fit (unsigned int *primitive_indices, 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 hpp::fcl::BVFitterTpl< OBB > | |
virtual | ~BVFitterTpl () |
default deconstructor 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... | |
void | clear () |
Clear the geometry primitive data. More... | |
Additional Inherited Members | |
Protected Attributes inherited from hpp::fcl::BVFitterTpl< OBB > | |
Vec3f * | vertices |
Vec3f * | prev_vertices |
Triangle * | tri_indices |
BVHModelType | type |
|
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 hpp::fcl::BVFitterTpl< OBB >.