Public Member Functions | Protected Attributes | Private Types | List of all members
coal::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

Vec3sprev_vertices
 
Triangletri_indices
 
BVHModelType type
 
Vec3svertices
 

Private Types

typedef BVFitterTpl< BV > Base
 

Detailed Description

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

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

Definition at line 59 of file coal/BVH/BVH_model.h.

Member Typedef Documentation

◆ Base

template<typename BV >
typedef BVFitterTpl<BV> coal::BVFitter< BV >::Base
private

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

Member Function Documentation

◆ fit()

template<typename BV >
BV coal::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 128 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 files:


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