Public Member Functions | Protected Attributes | List of all members
coal::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 (Vec3s *vertices_, Triangle *tri_indices_, BVHModelType type_)
 Prepare the geometry primitive data for fitting. More...
 
void set (Vec3s *vertices_, Vec3s *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

Vec3sprev_vertices
 
Triangletri_indices
 
BVHModelType type
 
Vec3svertices
 

Detailed Description

template<typename BV>
class coal::BVFitterTpl< BV >

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

Definition at line 76 of file coal/internal/BV_fitter.h.

Constructor & Destructor Documentation

◆ ~BVFitterTpl()

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

default deconstructor

Definition at line 79 of file coal/internal/BV_fitter.h.

Member Function Documentation

◆ clear()

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

Clear the geometry primitive data.

Definition at line 104 of file coal/internal/BV_fitter.h.

◆ fit()

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

◆ set() [1/2]

template<typename BV >
void coal::BVFitterTpl< BV >::set ( Vec3s vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
inline

Prepare the geometry primitive data for fitting.

Definition at line 82 of file coal/internal/BV_fitter.h.

◆ set() [2/2]

template<typename BV >
void coal::BVFitterTpl< BV >::set ( Vec3s vertices_,
Vec3s prev_vertices_,
Triangle tri_indices_,
BVHModelType  type_ 
)
inline

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

Definition at line 91 of file coal/internal/BV_fitter.h.

Member Data Documentation

◆ prev_vertices

template<typename BV >
Vec3s* coal::BVFitterTpl< BV >::prev_vertices
protected

Definition at line 113 of file coal/internal/BV_fitter.h.

◆ tri_indices

template<typename BV >
Triangle* coal::BVFitterTpl< BV >::tri_indices
protected

Definition at line 114 of file coal/internal/BV_fitter.h.

◆ type

template<typename BV >
BVHModelType coal::BVFitterTpl< BV >::type
protected

Definition at line 115 of file coal/internal/BV_fitter.h.

◆ vertices

template<typename BV >
Vec3s* coal::BVFitterTpl< BV >::vertices
protected

Definition at line 112 of file coal/internal/BV_fitter.h.


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


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:45:00