FCL
0.6.0
Flexible Collision Library
|
The class for the default algorithm fitting a bounding volume to a set of points. More...
#include <BV_fitter.h>
Public Types | |
using | S = typename BVFitterBase< BV >::S |
Public Types inherited from fcl::detail::BVFitterBase< BV > | |
using | S = typename BV::S |
Public Member Functions | |
virtual | ~BVFitter () |
default deconstructor | |
void | set (Vector3< S > *vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting. | |
void | set (Vector3< S > *vertices_, Vector3< S > *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. | |
Public Member Functions inherited from fcl::detail::BVFitterBase< BV > | |
virtual void | set (Vector3< S > *vertices_, Triangle *tri_indices_, BVHModelType type_)=0 |
Set the primitives to be processed by the fitter. | |
virtual void | set (Vector3< S > *vertices_, Vector3< S > *prev_vertices_, Triangle *tri_indices_, BVHModelType type_)=0 |
Set the primitives to be processed by the fitter, for deformable mesh. | |
Friends | |
template<typename , typename > | |
struct | SetImpl |
template<typename , typename > | |
struct | FitImpl |
The class for the default algorithm fitting a bounding volume to a set of points.