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

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

#include <coal/internal/BV_fitter.h>

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

Public Member Functions

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

Detailed Description

Specification of BVFitter for RSS bounding volume.

Member Function Documentation

◆ fit()

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

Member Data Documentation

◆ prev_vertices

protected

◆ tri_indices

protected

◆ type

protected

◆ vertices

protected

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