Template Class BVFitter

Inheritance Relationships

Base Type

Class Documentation

template<typename BV>
class BVFitter : public hpp::fcl::BVFitterTpl<BV>

The class for the default algorithm fitting a bounding volume to a set of points.

Public Functions

inline virtual BV 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.

Protected Attributes

Vec3f *prev_vertices
Triangle *tri_indices
BVHModelType type
Vec3f *vertices