Public Member Functions | Protected Attributes | 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>

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

Protected Attributes

Vec3fprev_vertices
 
Triangletri_indices
 
BVHModelType type
 
Vec3fvertices
 

Private Types

typedef BVFitterTpl< BV > Base
 

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 
)
inline

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

Definition at line 129 of file BV_fitter.h.

Member Data Documentation

◆ prev_vertices

template<typename BV >
Vec3f* hpp::fcl::BVFitterTpl< BV >::prev_vertices
protected

Definition at line 114 of file BV_fitter.h.

◆ tri_indices

template<typename BV >
Triangle* hpp::fcl::BVFitterTpl< BV >::tri_indices
protected

Definition at line 115 of file BV_fitter.h.

◆ type

template<typename BV >
BVHModelType hpp::fcl::BVFitterTpl< BV >::type
protected

Definition at line 116 of file BV_fitter.h.

◆ vertices

template<typename BV >
Vec3f* hpp::fcl::BVFitterTpl< BV >::vertices
protected

Definition at line 113 of file BV_fitter.h.


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


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