$search
A class for fitting a bounding volume to a set of points. More...
#include <BV_fitter.h>
Public Member Functions | |
| void | clear () |
| Clear the geometry primitive data. | |
| 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. | |
| void | set (Vec3f *vertices_, Vec3f *prev_vertices_, Triangle *tri_indices_, BVHModelType type_) |
| Prepare the geometry primitive data for fitting. | |
| void | set (Vec3f *vertices_, Triangle *tri_indices_, BVHModelType type_) |
| Prepare the geometry primitive data for fitting. | |
Static Public Member Functions | |
| static BV | fit (Vec3f *ps, int n) |
| Compute a bounding volume that fits a set of n points. | |
Private Attributes | |
| Vec3f * | prev_vertices |
| Triangle * | tri_indices |
| BVHModelType | type |
| Vec3f * | vertices |
A class for fitting a bounding volume to a set of points.
Definition at line 54 of file BV_fitter.h.
| void collision_checking::BVFitter< BV >::clear | ( | void | ) | [inline] |
Clear the geometry primitive data.
Definition at line 129 of file BV_fitter.h.
| BV collision_checking::BVFitter< BV >::fit | ( | unsigned int * | primitive_indices, | |
| int | num_primitives | |||
| ) | [inline] |
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.
Definition at line 91 of file BV_fitter.h.
| static BV collision_checking::BVFitter< BV >::fit | ( | Vec3f * | ps, | |
| int | n | |||
| ) | [inline, static] |
Compute a bounding volume that fits a set of n points.
Definition at line 59 of file BV_fitter.h.
| void collision_checking::BVFitter< BV >::set | ( | Vec3f * | vertices_, | |
| Vec3f * | prev_vertices_, | |||
| Triangle * | tri_indices_, | |||
| BVHModelType | type_ | |||
| ) | [inline] |
Prepare the geometry primitive data for fitting.
Definition at line 80 of file BV_fitter.h.
| void collision_checking::BVFitter< BV >::set | ( | Vec3f * | vertices_, | |
| Triangle * | tri_indices_, | |||
| BVHModelType | type_ | |||
| ) | [inline] |
Prepare the geometry primitive data for fitting.
Definition at line 71 of file BV_fitter.h.
Vec3f* collision_checking::BVFitter< BV >::prev_vertices [private] |
Definition at line 140 of file BV_fitter.h.
Triangle* collision_checking::BVFitter< BV >::tri_indices [private] |
Definition at line 141 of file BV_fitter.h.
BVHModelType collision_checking::BVFitter< BV >::type [private] |
Definition at line 142 of file BV_fitter.h.
Vec3f* collision_checking::BVFitter< BV >::vertices [private] |
Definition at line 139 of file BV_fitter.h.