Public Member Functions | List of all members
hpp::fcl::BVFitter< OBB > Class Template Reference

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

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

Inheritance diagram for hpp::fcl::BVFitter< OBB >:
[legend]
Collaboration diagram for hpp::fcl::BVFitter< OBB >:
[legend]

Public Member Functions

void set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_)
 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...
 
OBB fit (unsigned int *primitive_indices, int num_primitives)
 Compute a bounding volume that fits a set of primitives (points or triangles). More...
 
void clear ()
 brief Clear the geometry primitive data More...
 

Detailed Description

template<>
class hpp::fcl::BVFitter< OBB >

Specification of BVFitter for OBB bounding volume.

Member Function Documentation

void hpp::fcl::BVFitter< OBB >::clear ( )
inlinevirtual

brief Clear the geometry primitive data

Implements hpp::fcl::BVFitterBase< OBB >.

References hpp::fcl::BVH_MODEL_UNKNOWN.

OBB hpp::fcl::BVFitter< OBB >::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 hpp::fcl::BVFitterBase< OBB >.

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

Prepare the geometry primitive data for fitting.

Implements hpp::fcl::BVFitterBase< OBB >.

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

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

Implements hpp::fcl::BVFitterBase< OBB >.

References hpp::fcl::BVFitterBase< BV >::fit().