All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fcl::BVFitterBase< BV > Class Template Referenceabstract

Interface for fitting a bv given the triangles or points inside it. More...

#include <hpp/fcl/BVH/BV_fitter.h>

Inheritance diagram for fcl::BVFitterBase< BV >:

Public Member Functions

virtual void set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_)=0
 Set the primitives to be processed by the fitter. More...
 
virtual void set (Vec3f *vertices_, Vec3f *prev_vertices_, Triangle *tri_indices_, BVHModelType type_)=0
 Set the primitives to be processed by the fitter, for deformable mesh. More...
 
virtual BV fit (unsigned int *primitive_indices, int num_primitives)=0
 Compute the fitting BV. More...
 
virtual void clear ()=0
 clear the temporary data generated. More...
 

Detailed Description

template<typename BV>
class fcl::BVFitterBase< BV >

Interface for fitting a bv given the triangles or points inside it.

Member Function Documentation

template<typename BV>
virtual void fcl::BVFitterBase< BV >::clear ( )
pure virtual
template<typename BV>
virtual BV fcl::BVFitterBase< BV >::fit ( unsigned int *  primitive_indices,
int  num_primitives 
)
pure virtual
template<typename BV>
virtual void fcl::BVFitterBase< BV >::set ( Vec3f vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
pure virtual

Set the primitives to be processed by the fitter.

Implemented in fcl::BVFitter< OBBRSS >, fcl::BVFitter< kIOS >, fcl::BVFitter< RSS >, fcl::BVFitter< OBB >, and fcl::BVFitter< BV >.

template<typename BV>
virtual void fcl::BVFitterBase< BV >::set ( Vec3f vertices_,
Vec3f prev_vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
pure virtual

Set the primitives to be processed by the fitter, for deformable mesh.

Implemented in fcl::BVFitter< OBBRSS >, fcl::BVFitter< kIOS >, fcl::BVFitter< RSS >, fcl::BVFitter< OBB >, and fcl::BVFitter< BV >.