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

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

#include <BVH_model.h>

Inheritance diagram for hpp::fcl::BVFitter< BV >:
Inheritance graph
[legend]

Public Member Functions

BV fit (unsigned int *primitive_indices, unsigned 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. More...
 
- Public Member Functions inherited from hpp::fcl::BVFitterTpl< BV >
void clear ()
 Clear the geometry primitive data. More...
 
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...
 
virtual ~BVFitterTpl ()
 default deconstructor More...
 

Private Types

typedef BVFitterTpl< BV > Base
 

Additional Inherited Members

- Protected Attributes inherited from hpp::fcl::BVFitterTpl< BV >
Vec3fprev_vertices
 
Triangletri_indices
 
BVHModelType type
 
Vec3fvertices
 

Detailed Description

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

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

Definition at line 57 of file BVH/BVH_model.h.

Member Typedef Documentation

◆ Base

template<typename BV >
typedef BVFitterTpl<BV> hpp::fcl::BVFitter< BV >::Base
private

Definition at line 123 of file BV_fitter.h.

Member Function Documentation

◆ fit()

template<typename BV >
BV hpp::fcl::BVFitter< BV >::fit ( unsigned int *  primitive_indices,
unsigned int  num_primitives 
)
inlinevirtual

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.

The primitive is triangle

can fitting both current and previous frame

The primitive is point

can fitting both current and previous frame

Implements hpp::fcl::BVFitterTpl< BV >.

Definition at line 129 of file BV_fitter.h.


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


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:03