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< AABB > Class Reference

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

#include <coal/internal/BV_fitter.h>

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

Public Member Functions

AABB 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< AABB >
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< AABB >
Vec3svertices
Vec3sprev_vertices
Triangletri_indices
BVHModelType type

Detailed Description

Specification of BVFitter for AABB bounding volume.

Member Function Documentation

◆ fit()

AABB coal::BVFitter< AABB >::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< AABB >.

Member Data Documentation

◆ prev_vertices

protected

◆ tri_indices

protected

◆ type

protected

◆ vertices

protected

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