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

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

#include <BV_fitter.h>

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

Public Member Functions

AABB 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< AABB >
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...
 

Additional Inherited Members

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

Detailed Description

Specification of BVFitter for AABB bounding volume.

Definition at line 211 of file BV_fitter.h.

Member Function Documentation

◆ fit()

AABB hpp::fcl::BVFitter< AABB >::fit ( unsigned int *  primitive_indices,
unsigned 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.

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< AABB >.

Definition at line 643 of file BV_fitter.cpp.


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


hpp-fcl
Author(s):
autogenerated on Fri Jan 26 2024 03:46:16