All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fcl::BVFitter< RSS > Class Template Reference

Specification of BVFitter for RSS bounding volume. More...

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

Inheritance diagram for fcl::BVFitter< RSS >:
Collaboration diagram for fcl::BVFitter< RSS >:

Public Member Functions

void set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_)
 brief Prepare the geometry primitive data for fitting More...
 
void set (Vec3f *vertices_, Vec3f *prev_vertices_, Triangle *tri_indices_, BVHModelType type_)
 Prepare the geometry primitive data for fitting, for deformable mesh. More...
 
RSS fit (unsigned int *primitive_indices, int num_primitives)
 Compute a bounding volume that fits a set of primitives (points or triangles). More...
 
void clear ()
 Clear the geometry primitive data. More...
 

Detailed Description

template<>
class fcl::BVFitter< RSS >

Specification of BVFitter for RSS bounding volume.

Member Function Documentation

void fcl::BVFitter< RSS >::clear ( )
inlinevirtual

Clear the geometry primitive data.

Implements fcl::BVFitterBase< RSS >.

References fcl::BVH_MODEL_UNKNOWN.

RSS fcl::BVFitter< RSS >::fit ( unsigned int *  primitive_indices,
int  num_primitives 
)
virtual

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.

Implements fcl::BVFitterBase< RSS >.

void fcl::BVFitter< RSS >::set ( Vec3f vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
inlinevirtual

brief Prepare the geometry primitive data for fitting

Implements fcl::BVFitterBase< RSS >.

void fcl::BVFitter< RSS >::set ( Vec3f vertices_,
Vec3f prev_vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
inlinevirtual

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

Implements fcl::BVFitterBase< RSS >.