coal 3.0.2 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 | |
| void | set (Vec3s *vertices_, Triangle *tri_indices_, BVHModelType type_) |
| Prepare the geometry primitive data for fitting. | |
| void | set (Vec3s *vertices_, Vec3s *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. | |
| void | clear () |
| Clear the geometry primitive data. | |
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< BV >, coal::BVFitter< AABB >, coal::BVFitter< kIOS >, coal::BVFitter< OBB >, coal::BVFitter< OBBRSS >, and coal::BVFitter< RSS >.
| inline |
Prepare the geometry primitive data for fitting.
| inline |
Prepare the geometry primitive data for fitting, for deformable mesh.
| protected |
| protected |
| protected |
| protected |