coal 3.0.2
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
Loading...
Searching...
No Matches
coal::BVFitter< kIOS > Class Reference

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

#include <coal/internal/BV_fitter.h>

Inheritance diagram for coal::BVFitter< kIOS >:
coal::BVFitterTpl< kIOS >coal::BVFitterTpl< kIOS >

Public Member Functions

kIOS 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.
Public Member Functions inherited from coal::BVFitterTpl< kIOS >
virtual ~BVFitterTpl ()
 default deconstructor
void set (Vec3s *vertices_, Triangle *tri_indices_, BVHModelType type_)
 Prepare the geometry primitive data for fitting.
void clear ()
 Clear the geometry primitive data.

Protected Attributes

Vec3sprev_vertices
Triangletri_indices
BVHModelType type
Vec3svertices
Protected Attributes inherited from coal::BVFitterTpl< kIOS >
Vec3svertices
Vec3sprev_vertices
Triangletri_indices
BVHModelType type

Detailed Description

Specification of BVFitter for kIOS bounding volume.

Member Function Documentation

◆ fit()

kIOS coal::BVFitter< kIOS >::fit(unsigned int *primitive_indices,
unsigned intnum_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.

Implements coal::BVFitterTpl< kIOS >.

Member Data Documentation

◆ prev_vertices

protected

◆ tri_indices

protected

◆ type

protected

◆ vertices

protected

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