coal
3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
|
The class for the default algorithm fitting a bounding volume to a set of points. More...
#include <coal/internal/BV_fitter.h>
Public Member Functions | |
virtual | ~BVFitterTpl () |
default deconstructor More... | |
void | set (Vec3s *vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting. More... | |
void | set (Vec3s *vertices_, Vec3s *prev_vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting, for deformable mesh. More... | |
virtual BV | fit (unsigned int *primitive_indices, unsigned int num_primitives)=0 |
Compute the fitting BV. More... | |
void | clear () |
Clear the geometry primitive data. More... | |
Protected Attributes | |
Vec3s * | vertices |
Vec3s * | prev_vertices |
Triangle * | tri_indices |
BVHModelType | type |
The class for the default algorithm fitting a bounding volume to a set of points.
|
inlinevirtual |
default deconstructor
|
inline |
Clear the geometry primitive data.
|
pure virtual |
Compute the fitting BV.
Implemented in coal::BVFitter< AABB >, coal::BVFitter< OBBRSS >, coal::BVFitter< kIOS >, coal::BVFitter< RSS >, coal::BVFitter< OBB >, and coal::BVFitter< BV >.
|
inline |
Prepare the geometry primitive data for fitting.
|
inline |
Prepare the geometry primitive data for fitting, for deformable mesh.
|
protected |
|
protected |
|
protected |
|
protected |