Specification of BVFitter for OBB bounding volume. More...
#include <BV_fitter.h>
Public Member Functions | |
void | clear () |
brief Clear the geometry primitive data | |
OBB | 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. | |
void | set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting. | |
void | set (Vec3f *vertices_, Vec3f *prev_vertices_, Triangle *tri_indices_, BVHModelType type_) |
Prepare the geometry primitive data for fitting, for deformable mesh. | |
Private Attributes | |
Vec3f * | prev_vertices |
Triangle * | tri_indices |
BVHModelType | type |
Vec3f * | vertices |
Specification of BVFitter for OBB bounding volume.
Definition at line 175 of file BV_fitter.h.
void fcl::BVFitter< OBB >::clear | ( | ) | [inline, virtual] |
brief Clear the geometry primitive data
Implements fcl::BVFitterBase< OBB >.
Definition at line 201 of file BV_fitter.h.
OBB fcl::BVFitter< OBB >::fit | ( | unsigned int * | primitive_indices, |
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 fcl::BVFitterBase< OBB >.
Definition at line 519 of file BV_fitter.cpp.
void fcl::BVFitter< OBB >::set | ( | Vec3f * | vertices_, |
Triangle * | tri_indices_, | ||
BVHModelType | type_ | ||
) | [inline, virtual] |
Prepare the geometry primitive data for fitting.
Implements fcl::BVFitterBase< OBB >.
Definition at line 179 of file BV_fitter.h.
void fcl::BVFitter< OBB >::set | ( | Vec3f * | vertices_, |
Vec3f * | prev_vertices_, | ||
Triangle * | tri_indices_, | ||
BVHModelType | type_ | ||
) | [inline, virtual] |
Prepare the geometry primitive data for fitting, for deformable mesh.
Implements fcl::BVFitterBase< OBB >.
Definition at line 188 of file BV_fitter.h.
Vec3f* fcl::BVFitter< OBB >::prev_vertices [private] |
Definition at line 212 of file BV_fitter.h.
Triangle* fcl::BVFitter< OBB >::tri_indices [private] |
Definition at line 213 of file BV_fitter.h.
BVHModelType fcl::BVFitter< OBB >::type [private] |
Definition at line 214 of file BV_fitter.h.
Vec3f* fcl::BVFitter< OBB >::vertices [private] |
Definition at line 211 of file BV_fitter.h.