Public Member Functions | Protected Attributes | List of all members
hpp::fcl::BVFitterTpl< BV > Class Template Referenceabstract

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

#include <BV_fitter.h>

Public Member Functions

void clear ()
 Clear the geometry primitive data. More...
 
virtual BV fit (unsigned int *primitive_indices, unsigned int num_primitives)=0
 Compute the fitting BV. 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...
 

Protected Attributes

Vec3fprev_vertices
 
Triangletri_indices
 
BVHModelType type
 
Vec3fvertices
 

Detailed Description

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

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

Definition at line 77 of file BV_fitter.h.

Constructor & Destructor Documentation

◆ ~BVFitterTpl()

template<typename BV >
virtual hpp::fcl::BVFitterTpl< BV >::~BVFitterTpl ( )
inlinevirtual

default deconstructor

Definition at line 80 of file BV_fitter.h.

Member Function Documentation

◆ clear()

template<typename BV >
void hpp::fcl::BVFitterTpl< BV >::clear ( )
inline

Clear the geometry primitive data.

Definition at line 105 of file BV_fitter.h.

◆ fit()

template<typename BV >
virtual BV hpp::fcl::BVFitterTpl< BV >::fit ( unsigned int *  primitive_indices,
unsigned int  num_primitives 
)
pure virtual

◆ set() [1/2]

template<typename BV >
void hpp::fcl::BVFitterTpl< BV >::set ( Vec3f vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
inline

Prepare the geometry primitive data for fitting.

Definition at line 83 of file BV_fitter.h.

◆ set() [2/2]

template<typename BV >
void hpp::fcl::BVFitterTpl< BV >::set ( Vec3f vertices_,
Vec3f prev_vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
inline

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

Definition at line 92 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 file:


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