FCL  0.6.0
Flexible Collision Library
fcl::detail::BVFitter< BV > Class Template Reference

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

#include <BV_fitter.h>

Inheritance diagram for fcl::detail::BVFitter< BV >:
fcl::detail::BVFitterBase< BV >

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
 

Detailed Description

template<typename BV>
class fcl::detail::BVFitter< BV >

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


The documentation for this class was generated from the following files: