coal  3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
coal::BVFitter< OBBRSS > Class Reference

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

#include <coal/internal/BV_fitter.h>

Inheritance diagram for coal::BVFitter< OBBRSS >:
Collaboration diagram for coal::BVFitter< OBBRSS >:

Public Member Functions

OBBRSS 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...
 
- Public Member Functions inherited from coal::BVFitterTpl< OBBRSS >
virtual ~BVFitterTpl ()
 default deconstructor 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...
 
void clear ()
 Clear the geometry primitive data. More...
 

Additional Inherited Members

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

Detailed Description

Specification of BVFitter for OBBRSS bounding volume.

Member Function Documentation

◆ fit()

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


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