Specification of BVFitter for RSS bounding volume. More...
#include <BV_fitter.h>
Public Member Functions | |
void | clear () |
Clear the geometry primitive data. | |
RSS | 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_) |
brief 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 RSS bounding volume.
Definition at line 220 of file BV_fitter.h.
void fcl::BVFitter< RSS >::clear | ( | ) | [inline, virtual] |
Clear the geometry primitive data.
Implements fcl::BVFitterBase< RSS >.
Definition at line 246 of file BV_fitter.h.
RSS fcl::BVFitter< RSS >::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< RSS >.
Definition at line 568 of file BV_fitter.cpp.
void fcl::BVFitter< RSS >::set | ( | Vec3f * | vertices_, |
Triangle * | tri_indices_, | ||
BVHModelType | type_ | ||
) | [inline, virtual] |
brief Prepare the geometry primitive data for fitting
Implements fcl::BVFitterBase< RSS >.
Definition at line 224 of file BV_fitter.h.
void fcl::BVFitter< RSS >::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< RSS >.
Definition at line 233 of file BV_fitter.h.
Vec3f* fcl::BVFitter< RSS >::prev_vertices [private] |
Definition at line 257 of file BV_fitter.h.
Triangle* fcl::BVFitter< RSS >::tri_indices [private] |
Definition at line 258 of file BV_fitter.h.
BVHModelType fcl::BVFitter< RSS >::type [private] |
Definition at line 259 of file BV_fitter.h.
Vec3f* fcl::BVFitter< RSS >::vertices [private] |
Definition at line 256 of file BV_fitter.h.