Specification of BVFitter for kIOS bounding volume. More...
#include <BV_fitter.h>

Public Member Functions | |
| void | clear () |
| Clear the geometry primitive data. | |
| kIOS | 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. | |
Private Attributes | |
| Vec3f * | prev_vertices |
| Triangle * | tri_indices |
| BVHModelType | type |
| Vec3f * | vertices |
Specification of BVFitter for kIOS bounding volume.
Definition at line 265 of file BV_fitter.h.
| void fcl::BVFitter< kIOS >::clear | ( | ) | [inline, virtual] |
Clear the geometry primitive data.
Implements fcl::BVFitterBase< kIOS >.
Definition at line 291 of file BV_fitter.h.
| kIOS fcl::BVFitter< kIOS >::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< kIOS >.
Definition at line 596 of file BV_fitter.cpp.
| void fcl::BVFitter< kIOS >::set | ( | Vec3f * | vertices_, |
| Triangle * | tri_indices_, | ||
| BVHModelType | type_ | ||
| ) | [inline, virtual] |
Prepare the geometry primitive data for fitting.
Implements fcl::BVFitterBase< kIOS >.
Definition at line 269 of file BV_fitter.h.
| void fcl::BVFitter< kIOS >::set | ( | Vec3f * | vertices_, |
| Vec3f * | prev_vertices_, | ||
| Triangle * | tri_indices_, | ||
| BVHModelType | type_ | ||
| ) | [inline, virtual] |
Prepare the geometry primitive data for fitting.
Implements fcl::BVFitterBase< kIOS >.
Definition at line 278 of file BV_fitter.h.
Vec3f* fcl::BVFitter< kIOS >::prev_vertices [private] |
Definition at line 301 of file BV_fitter.h.
Triangle* fcl::BVFitter< kIOS >::tri_indices [private] |
Definition at line 302 of file BV_fitter.h.
BVHModelType fcl::BVFitter< kIOS >::type [private] |
Definition at line 303 of file BV_fitter.h.
Vec3f* fcl::BVFitter< kIOS >::vertices [private] |
Definition at line 300 of file BV_fitter.h.