Template Class BVFitterTpl

Inheritance Relationships

Derived Type

Class Documentation

template<typename BV>
class BVFitterTpl

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

Subclassed by hpp::fcl::BVFitter< BV >

Public Functions

inline virtual ~BVFitterTpl()

default deconstructor

inline void set(Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_)

Prepare the geometry primitive data for fitting.

inline void set(Vec3f *vertices_, Vec3f *prev_vertices_, Triangle *tri_indices_, BVHModelType type_)

Prepare the geometry primitive data for fitting, for deformable mesh.

virtual BV fit(unsigned int *primitive_indices, unsigned int num_primitives) = 0

Compute the fitting BV.

inline void clear()

Clear the geometry primitive data.

Protected Attributes

Vec3f *vertices
Vec3f *prev_vertices
Triangle *tri_indices
BVHModelType type