The class for the default algorithm fitting a bounding volume to a set of points. More...
#include <BV_fitter.h>
Public Types | |
using | S = typename BVFitterBase< BV >::S |
Public Types inherited from fcl::detail::BVFitterBase< BV > | |
using | S = typename BV::S |
Public Member Functions | |
void | clear () |
Clear the geometry primitive data. More... | |
BV | fit (unsigned int *primitive_indices, 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... | |
void | set (Vector3< S > *vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting. More... | |
void | set (Vector3< S > *vertices_, Vector3< S > *prev_vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting, for deformable mesh. More... | |
virtual | ~BVFitter () |
default deconstructor More... | |
Public Member Functions inherited from fcl::detail::BVFitterBase< BV > | |
virtual void | set (Vector3< S > *vertices_, Triangle *tri_indices_, BVHModelType type_)=0 |
Set the primitives to be processed by the fitter. More... | |
virtual void | set (Vector3< S > *vertices_, Vector3< S > *prev_vertices_, Triangle *tri_indices_, BVHModelType type_)=0 |
Set the primitives to be processed by the fitter, for deformable mesh. More... | |
Private Attributes | |
Vector3< S > * | prev_vertices |
Triangle * | tri_indices |
BVHModelType | type |
Vector3< S > * | vertices |
Friends | |
template<typename , typename > | |
struct | FitImpl |
template<typename , typename > | |
struct | SetImpl |
The class for the default algorithm fitting a bounding volume to a set of points.
Definition at line 56 of file BV_fitter.h.
using fcl::detail::BVFitter< BV >::S = typename BVFitterBase<BV>::S |
Definition at line 60 of file BV_fitter.h.
|
virtual |
default deconstructor
Definition at line 51 of file BV_fitter-inl.h.
|
virtual |
Clear the geometry primitive data.
Implements fcl::detail::BVFitterBase< BV >.
Definition at line 96 of file BV_fitter-inl.h.
|
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 fcl::detail::BVFitterBase< BV >.
Definition at line 88 of file BV_fitter-inl.h.
void fcl::detail::BVFitter< BV >::set | ( | Vector3< S > * | vertices_, |
Triangle * | tri_indices_, | ||
BVHModelType | type_ | ||
) |
Prepare the geometry primitive data for fitting.
void fcl::detail::BVFitter< BV >::set | ( | Vector3< S > * | vertices_, |
Vector3< S > * | prev_vertices_, | ||
Triangle * | tri_indices_, | ||
BVHModelType | type_ | ||
) |
Prepare the geometry primitive data for fitting, for deformable mesh.
Definition at line 94 of file BV_fitter.h.
Definition at line 91 of file BV_fitter.h.
|
private |
Definition at line 86 of file BV_fitter.h.
|
private |
Definition at line 87 of file BV_fitter.h.
|
private |
Definition at line 88 of file BV_fitter.h.
|
private |
Definition at line 85 of file BV_fitter.h.