#include <BV_fitter.h>
Inheritance diagram for fcl::BVFitter< BV >:
Public Member Functions | |
virtual | ~BVFitter () |
default deconstructor | |
void | set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting. | |
void | set (Vec3f *vertices_, Vec3f *prev_vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting, for deformable mesh. | |
BV | 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. | |
void | clear () |
Clear the geometry primitive data. |
Definition at line 92 of file BV_fitter.h.
BV fcl::BVFitter< BV >::fit | ( | unsigned int * | primitive_indices, | |
int | num_primitives | |||
) | [inline, 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.
The primitive is triangle
can fitting both current and previous frame
The primitive is point
can fitting both current and previous frame
Implements fcl::BVFitterBase< BV >.
Definition at line 118 of file BV_fitter.h.